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

Limit concurrency of piece retrieval from node via RPC #2034

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

nazar-pc
Copy link
Member

@nazar-pc nazar-pc commented Oct 2, 2023

As described in paritytech/jsonrpsee#1189 node right now is having a hard time serving piece retrieval requests. In local setup by sending too many most will time out in 60 secodns, triggering piece reconstruction, making things even worse in terms of time it takes to plot a sector.

Limiting it to low number fixes the issue and should only really affect local setup since in acctual network L2 DSN cache should be able to serve most (ideally all) requests.

Code contributor checklist:

@nazar-pc nazar-pc force-pushed the limit-node-piece-retrieval-concurrency branch from 47646f8 to ccd79b2 Compare October 2, 2023 02:17
@nazar-pc nazar-pc added this pull request to the merge queue Oct 2, 2023
Merged via the queue into main with commit fdc2662 Oct 2, 2023
10 checks passed
@nazar-pc nazar-pc deleted the limit-node-piece-retrieval-concurrency branch October 2, 2023 06:26
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