You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched in the issues and found no similar issues.
What would you like to be improved?
I‘m always digging the way to solve the request throughput when the writing concurrency is 400. And then I found the few people talk about this, which makes me confused until I see this hyperium/tonic#1405 (comment) .
…oughput in tonic (#1306)
### What changes were proposed in this pull request?
Make each grpc service thread listens the socket to improve request throughput.
### Why are the changes needed?
I‘m always digging the way to solve the request throughput when the writing concurrency is 400.
And then I found the few people talk about this, which makes me confused until I see this hyperium/tonic#1405 (comment) .
From this blog https://medium.com/@fujita.tomonori/scalable-server-design-in-rust-with-tokio-4c81a5f350a3,
I try to do this optimization, and then do some terasort test. I found the peek receive data speed from 1.2G/s -> 2.0G/s, it works ! And the latency becomes low. And the whole processing time reduces from 20min -> 8.5min
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No need
Code of Conduct
Search before asking
What would you like to be improved?
I‘m always digging the way to solve the request throughput when the writing concurrency is 400. And then I found the few people talk about this, which makes me confused until I see this hyperium/tonic#1405 (comment) .
From this blog https://medium.com/@fujita.tomonori/scalable-server-design-in-rust-with-tokio-4c81a5f350a3,
I try to do this optimization, and then do some terasort test. I found the peek receive data speed from 1.2G/s -> 2.0G/s, it works ! And the latency becomes low. And the whole processing time reduces from 20min -> 8.5min
How should we improve?
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: