[grpc-io] Re: GRPC C++ request spent > 2s from client to server

2024-01-18 Thread Frank Yu
Hi Veb, Will it get logged into a log file or on the console? I tried to set the environment variables but could not find the log. Thanks 在2023年12月19日星期二 UTC-8 11:02:06 写道: > You can use environment variables to get more gRPC logging; See >

Re: [grpc-io] Re: GRPC C++ request spent > 2s from client to server

2024-01-18 Thread Frank Yu
Hi Craig, Thanks for your responding! The Grpc Client will be on a proxy service so logically we could maintain a single Channel/Stub for all the communication between the client and server. Once we start the proxy service, we could send a request to lazily initiate the connection. But here's

Re: [grpc-io] Re: GRPC C++ request spent > 2s from client to server

2023-12-19 Thread 'Craig Tiller' via grpc.io
Also worth checking how long the second RPC takes -- gRPC will lazily connect the channel by default on the first RPC, so you'll be measuring all of the connection establishment latency (for which 2 seconds is probably still too high) On Tue, Dec 19, 2023 at 11:02 AM 'veb...@google.com' via

[grpc-io] Re: GRPC C++ request spent > 2s from client to server

2023-12-19 Thread 'veb...@google.com' via grpc.io
You can use environment variables to get more gRPC logging; See https://github.com/grpc/grpc/blob/master/doc/environment_variables.md I don't think spending 2 seconds to complete a simple RPC look good. On Friday, December 15, 2023 at 12:33:06 PM UTC-8 Frank Yu wrote: > Hi GRPC team, > > I