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 chunk rate limiter #1912

Open
tsachiherman opened this issue Feb 3, 2025 · 0 comments · May be fixed by #1922
Open

Implement chunk rate limiter #1912

tsachiherman opened this issue Feb 3, 2025 · 0 comments · May be fixed by #1922
Assignees

Comments

@tsachiherman
Copy link
Contributor

tsachiherman commented Feb 3, 2025

What ?

Implement a rate limiter for the chunks.

Logic

We want to limit the bandwidth that each producer can produce for storage.
In the storage, we will have a slice of chunks, ordered by expiry times.
When adding a new entry, the new entry can only be added if the total consumed storage of a window a less than a given threshold.

The window is an arbitrary number; We need to support validation on both the block builder and verifier path.

Open questions

  • Should the window overlap with epoch ? it would give us when "stake weighted allowance" is.
@tsachiherman tsachiherman changed the title fdsfds Implement chunk rate limiter Feb 3, 2025
@tsachiherman tsachiherman self-assigned this Feb 3, 2025
This was linked to pull requests Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant