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

[Project tracking] Cross shard bandwidth limits #11920

Open
jancionear opened this issue Aug 9, 2024 · 3 comments
Open

[Project tracking] Cross shard bandwidth limits #11920

jancionear opened this issue Aug 9, 2024 · 3 comments
Assignees
Labels
C-tracking-issue Category: a tracking issue

Comments

@jancionear
Copy link
Contributor

jancionear commented Aug 9, 2024

@jancionear jancionear self-assigned this Aug 9, 2024
@jancionear jancionear added the C-tracking-issue Category: a tracking issue label Aug 9, 2024
@walnut-the-cat
Copy link
Contributor

Aug 30th report:

  • lots of thinking and discussions. Making progress, it seems that we have a few potential designs to choose from, now we have to iron out all the details and choose which one to go with.

@walnut-the-cat
Copy link
Contributor

Sept 2-6

  • Created a central doc
  • Considered a few different solutions to the problem, created quick docs for each one
  • Decided to go with option C2

Sept 9-13

  • Not too much progress due to focus on release engineering

@jancionear
Copy link
Contributor Author

jancionear commented Sep 30, 2024

Sept 16-20

  • Writing a NEP which describes the chosen design, WIP version
  • Finalizing the design, started writing a simulator to test and validate the algorithm

Sept 23-27

  • Implemented a bandwidth scheduler simulator. It simulates a blockchain that sends receipts between shards in different ways with missing chunks and blocks. Implemented a few different scenarios to test that the BandwidthScheduler maintains high bandwidth utilization and fairness. The initial design had some flaws, but I improved the algorithm and now it's able to achieve the desired behavior. zulip
  • The algorithm has been verified on the simulator, it's now ready for implementation in nearcore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: a tracking issue
Projects
None yet
Development

No branches or pull requests

2 participants