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

grpc: Use a fixed size thread pool #1554

Closed
xerial opened this issue Mar 27, 2021 · 1 comment
Closed

grpc: Use a fixed size thread pool #1554

xerial opened this issue Mar 27, 2021 · 1 comment

Comments

@xerial
Copy link
Member

xerial commented Mar 27, 2021

It seems Executors.newCachedThreadPool is not good for handling multiple requests.

Using ForkJoinPoolseems better
https://github.com/grpc/grpc-java/blob/master/benchmarks/src/main/java/io/grpc/benchmarks/Utils.java#L178-L188

@xerial
Copy link
Member Author

xerial commented Mar 29, 2021

Done in #1557

@xerial xerial closed this as completed Mar 29, 2021
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

No branches or pull requests

1 participant