[grpc-io] Re: CompletableFuture - SupplyAsync for gRPC client Call

2020-11-19 Thread Bhuvi Viji
Thank you. I have used Context.attach and detach . will try out this option as well. On Thursday, 19 November 2020 at 01:06:15 UTC+5:30 zda...@google.com wrote: > You might use > > CompletableFuture.supplyAsync >

[grpc-io] CompletableFuture - SupplyAsync for gRPC client Call

2020-11-16 Thread Bhuvi Viji
Hi, I have Service A which has to call Service B and C asynchronously. So i used Java 8 CompletableFuture supplyAsync method. *Problem: * Service A gets JWT token from the caller , using Server interceptor it validates the token and if the token is valid it is set in the gRPC Context to

Re: [grpc-io] gRPC netty NoRouteToHostException

2023-08-17 Thread Bhuvi Viji
The only thing the client can do to avoid the error is use > stub.withWaitForReady(). But that implies you care more about reliability > than latency. I'd consider using it for this purpose to be a hack. > > On Fri, Aug 11, 2023 at 7:48 AM Bhuvi Viji wrote: > >> My applicatio

Re: [grpc-io] gRPC netty NoRouteToHostException

2023-08-26 Thread Bhuvi Viji
Before I get this exception almost 4Million request processed without any issues and it's suddenly throwing error later after sometime it works fine. On Sat, 26 Aug, 2023, 9:42 pm Bhuvi Viji, wrote: > Hi - This is issue is re-occurring even when there are no deployments on > the up

Re: [grpc-io] gRPC netty NoRouteToHostException

2023-08-26 Thread Bhuvi Viji
August 2023 at 16:09:50 UTC+5:30 Bhuvi Viji wrote: > Thanks Eric. Will check this option > > On Monday, 14 August 2023 at 21:57:14 UTC+5:30 Eric Anderson wrote: > >> You get that exception because all backends failed to be connected to. I >> expect this is a server dep

[grpc-io] gRPC netty NoRouteToHostException

2023-08-11 Thread Bhuvi Viji
My application calls a gRPC service(application B) using blocking stub to fulfill the request. End to End flow works fine without any issues. If there are any deployments in the gRPC service (application B) which my application consumes we get into NoRouteToHostException. We are trying the

[grpc-io] NettyServer Builder With maxConcurrentCallsPerConnection working behaviour

2023-05-14 Thread Bhuvi Viji
Hi, My client application overshooting the request so it gets service unavailable error at times and the same request gets proper response during retry. So planning to limit the max concurrentCallsPerConnections to some limit. Would like to understand the behaviour of introducing this change

[grpc-io] gRPC client side request throttling

2023-05-11 Thread Bhuvi Viji
Hi, Currently we are doing some performance testing with our gRPC based server and client apps and below are the Observations with the test results and Need feedback on this. 1.Even if the upstream gRPC service is up and running, client gets "Unreachable error" at times - what is the exact