Re: [grpc-io] gRPC client fallback from load-balancer to round robin DNS endpoint on LB outage

2023-11-06 Thread 'Terry Wilson' via grpc.io
Krishna, I'll mention that we also have a short guide on custom LBs that can help you with the fundamentals. On Monday, November 6, 2023 at 3:53:01 PM UTC-8 Larry Safran wrote: > Yes, you will need a custom NameResolver. > You could have

Re: [grpc-io] gRPC client fallback from load-balancer to round robin DNS endpoint on LB outage

2023-11-06 Thread 'Larry Safran' via grpc.io
Yes, you will need a custom NameResolver. You could have your NameResolver do one of the following 1) Extend DnsNameResolver (as is done by the internal GrpcNameResolver) and override the doResolve method 2) Directly extend NameResolver and have a field with a DnsNameResolver created through the

[grpc-io] RPC server testing

2023-11-06 Thread Jasmine Mohr Doctor
Hi I wish to test my script ads written in C++ in your gRPC server, if I'm authorize to do so or ask somany questions here, I'll appreciate. Thank you -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop

[grpc-io] Python Asyncio Server migration thread pool

2023-11-06 Thread Doctor Maya
Python Asyncio Server migration thread pool to grpc.io Hello, I'm trying to optimize a grpc.aio.server, but the docs confuse me: https://grpc.github.io/grpc/python/grpc_asyncio.html#grpc.aio.server. Specifically the following part: migration_thread_pool (Executor | None) – A

Re: [grpc-io] gRPC client fallback from load-balancer to round robin DNS endpoint on LB outage

2023-11-06 Thread Krishna Sai Veera Reddy
Hey Larry, Thank you for your response! Are there any examples out in the wild on how to do this? Also the part that is confusing me is the name resolution. Do we have to add a custom name resolution policy as well so that we get both the LB and round robin IP addresses in