Re: [grpc-io] GRPC connection socket policy

2024-02-21 Thread 'Larry Safran' via grpc.io
As mentioned in the core concepts guide , the exact behavior of closing channels is language dependent. Note that you can have multiple RPCs simultaneously using the same channel. As long as a channel is "active" it will stay connected.

[grpc-io] GRPC connection socket policy

2024-02-21 Thread Александр Сергеев
Good afternoon! Quickly looking through the documentation, I wasn't able to find an answer to a question that interested me, so maybe you could help me here. I was wondering, how many socket connections are being used when GRPC client communicates to GRPC server? Does one GRPC "channel" operate

[grpc-io] Re: [gRPC-Java] Pass context or header information to parseRequest on server side

2024-02-21 Thread 'Sergii Tkachenko' via grpc.io
Thank you for the detailed explanation. Since the only thing you need is the method name, consider adding a methodName parameter to your marshaller class. Then, when building the service definition, you can create an instance of your marshaller per method, and provide the method name as a