Hi, I wrote a test to check grpc latency for unary RPC on my machine. Link to the code: https://play.golang.org/p/YgS_xdzN_t
I noticed that the latency was very high, around 30-40ms when i make 2000 concurrent unary rpcs with payload of 1kb. But if i do only one rpc at a time then the latency was only 100 us. I noticed that the latency dropped down to around 1ms if i do only 200 concurrent requests at a time or increase the payload size to 10kb. I noticed that data is not flushed when there are concurrent writers in http_client.go, which might be adding to the latency. We care more about the latency than the throughput for some use cases. Are there any options which we can specify on the client/server side to avoid these latency issues. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/47bc6511-ff1b-4659-935b-963e751c7a45%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
