2024-02-27 (low latency) i7-12700 Linux 4.18.0 (Hyper-V VM) #426
Radrik5
started this conversation in
Benchmark results
Replies: 1 comment
-
That's a very interesting find, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When the number of concurrent requests exceeds the number of server CPUs, the requests start waiting in a queue which increases the latency significantly. 2ms latency was too large in my use case, so I was interested in latency numbers without queuing.
The results correspond to ping-pong median latency reported here: https://grafana-dot-grpc-testing.appspot.com/?orgId=1 (from https://grpc.io/docs/guides/benchmarking/)
Just for the reference: epoll() system call latency on my machine is 70 microseconds, two epoll() calls (on the sever and the client) are 140 microseconds, so gRPC overhead is about 40-80 microseconds in cpp implementations.
Beta Was this translation helpful? Give feedback.
All reactions