Hi Grpc team,
I am having a requirement where my grpc-servers are behind firewall. So all incoming connections to these servers are blocked.
I want to use grpc as tunnel, where these servers will initiate the tcp connection with a publicly exposed load balancer. I chose nginx as load balancer for POC. So my idea is :
a) Grpc servers will initiate a long-lived tcp connection with nginx by calling a RPC. Nginx will have all these servers defined under upstream group. This way each upstream server will have 1 connection with nginx.
b) A Grpc client calls nginx, and nginx will forward the request to any of upstream server. In-doing so nginx should use the connection established in step-a than creating a new connection to upstream server.
But when I tested with above set-up, I see that it is creating a new connection than using the already established connection with upstream server.
Can you please suggest if this is possible ? How differently should I run the grpc server / nginx conf. Can any other load-balancer server above purpose than nginx ?
Regards,
Rajat
This message may contain confidential information protected by law. The contents of this email are to be viewed only by the intended recipient. If you received this message in error, notify the sender immediately and delete the original message without printing. Product descriptions, pricing and similar content is for information only and does not constitute an offer, warranty or guarantee. Contracts with Arcesium are formed only by written documents bearing the signature of its authorized representative.