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

Add mission to simulate pubnet under realistic mixed load #220

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bboston7
Copy link
Contributor

Closes #210

This change adds SimulatePubnetMixedLoad that allows simulating pubnet with a more realistic load profile. Used in conjunction with the --tier-1-orgs-to-add flag, this mission allows testing the impact of adding more orgs to tier1.

To support this change, I made a few other changes along the way:

  • Added a flag --max-connections that caps the number of connections any node in a pubnet data graph may have.
  • Fixed the --tier-1-orgs-to-add flag, which previously failed to add any orgs due to re-using old Peers values that meant that any new nodes were entirely disconnected, and therefore discarded.
  • Fixed an issue by which orgs with a mix of tier1 and non-tier1 values were flagged as either all tier1 or all non-tier1
  • Adjusted limits to fit within our cluster without throttling
  • Updated soroban loadgen distributions with recent pubnet data
  • Added a script to simplify updating loadgen distributions in the future
  • Modified the geolocation assignment algorithm to assign all nodes the same location, even when adding more nodes via --tier-1-orgs-to-add

Closes stellar#210

This change adds `SimulatePubnetMixedLoad` that allows simulating pubnet
with a more realistic load profile. Used in conjunction with the
`--tier-1-orgs-to-add` flag, this mission allows testing the impact of
adding more orgs to tier1.

To support this change, I made a few other changes along the way:

* Added a flag `--max-connections` that caps the number of connections
  any node in a pubnet data graph may have.
* Fixed the `--tier-1-orgs-to-add` flag, which previously failed to add
  any orgs due to re-using old `Peers` values that meant that any new
  nodes were entirely disconnected, and therefore discarded.
* Fixed an issue by which orgs with a mix of tier1 and non-tier1 values
  were flagged as either all tier1 or all non-tier1
* Adjusted limits to fit within our cluster without throttling
* Updated soroban loadgen distributions with recent pubnet data
* Added a script to simplify updating loadgen distributions in the
  future
`Execute` calls this function itself, so it's not necessary to call it
manually here.
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.

Simulate networks with more orgs
1 participant