hashgraph / hedera-block-node

New Block Node services
Apache License 2.0
5 stars 1 forks source link

Adding network latency simulator for block live stream consumers #34

Closed AlfredoG87 closed 3 months ago

AlfredoG87 commented 3 months ago

Description: Adding network latency simulator for block live stream consumers using TC (linux network tool) for simulating network congestion and slow connection with very high latency.

The result of the Test was successful:

Related issue(s):

Fixes #32

Notes for reviewer: Due to how Dockerfile performs COPY I had to create a copy of the files consumer.sh and protobuf foldere inside the test project. But I would welcome a suggestion on how to copy relative paths that are above the folder structure of the main project of Dockerfile when building the image.

How is working: image

Checklist