Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the ability to control latency by time and point to point #178

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

masih
Copy link
Member

@masih masih commented Apr 25, 2024

Implement the ability to dynamically change the latency modeling in two ways:

  1. per time t through a simulation, and
  2. between a pair of participants.

This allows simulation of scenarios where re-broadcast is necessary in order to reach consensus.
Additionally, it enables simulation of momentary network partition, and targeted transport attacks by an adversary.

Introduce Zipf latency model for a more realistic latency distribution modelling. Follow up PRs will expand tests to make use of this distribution.

Implement the ability to dynamically change the latency modeling in two
ways:

1) per time `t` through a simulation, and
2) between a pair of participants.

This allows simulation of scenarios where re-broadcast is necessary in
order to reach consensus.
Additionally, it enables simulation of momentary network partition, and
targeted transport attacks by an adversary.

Introduce `Zipf` latency model for a more realistic latency
distribution modelling. Follow up PRs will expand tests to make use of
this distribution.
@masih masih marked this pull request as ready for review April 25, 2024 10:36
@masih masih requested a review from Kubuxu April 25, 2024 10:37
@masih masih added this pull request to the merge queue Apr 25, 2024
Merged via the queue into main with commit f5ab694 Apr 25, 2024
3 checks passed
@masih masih deleted the masih/latency-p2p branch April 25, 2024 14:51
@masih masih self-assigned this Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants