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

Pollers should use just one thread to perform async gRPC requests #1456

Open
Tracked by #778
Spikhalskiy opened this issue Sep 25, 2022 · 0 comments
Open
Tracked by #778

Pollers should use just one thread to perform async gRPC requests #1456

Spikhalskiy opened this issue Sep 25, 2022 · 0 comments
Labels
enhancement User experience

Comments

@Spikhalskiy
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, we allocate a lot of physical threads to perform blocking gRPC long poll requests. This doesn't make sense as it creates a lot of semi-active threads with a lot of context switching that just does a blocking io inside.

Describe the solution you'd like
We should have two threads for Pollers. One for Workflow Task Pollers, one for Activity Task Pollers. They should handle all corresponding long poll requests in an async manner.

@Spikhalskiy Spikhalskiy added the enhancement User experience label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement User experience
Projects
None yet
Development

No branches or pull requests

1 participant