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

Use a dedicated threadpool for tracing rpc requests #3904

Closed
mattsse opened this issue Jul 25, 2023 · 0 comments · Fixed by #3914
Closed

Use a dedicated threadpool for tracing rpc requests #3904

mattsse opened this issue Jul 25, 2023 · 0 comments · Fixed by #3914
Assignees
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request

Comments

@mattsse
Copy link
Collaborator

mattsse commented Jul 25, 2023

Describe the feature

all rpc blocking tasks is currently executed on the same threadpool which is fifo, once saturated with a lot of long running tracing requests, this can cause latencies for other, cheaper rpc requests that require blocking io, like eth_ namespace.

tracing is bottlenecked by CPU and perhaps a dedicated rayon threadpool is more suitable here.

ref #3896

Additional context

No response

@mattsse mattsse added C-enhancement New feature or request A-rpc Related to the RPC implementation labels Jul 25, 2023
@mattsse mattsse self-assigned this Jul 25, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rpc Related to the RPC implementation C-enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant