I have a gRPC server (let's call it Server Alpha) in Python that listens 
for clients. I have two clients that make requests to this Alpha server. 
When this happens, I want my Alpha server to store the connection between 
itself and each specific client. I then want my Alpha server to turn into a 
gRPC client and start making requests to the 2 original clients (who are 
also servers). To summarize, each entity is BOTH a grpc server and client.

My strategy is to have the 2 original clients pass their IP and port number 
to the Alpha server. The Alpha server stops serving and turns into a gRPC 
client. It then begins making requests to the IP and port numbers it stored 
from the 2 original clients.

Any advice on how to pass the ip and port number from a gRPC client to a 
server? Maybe there's a better method? I believe my ideal solution is to 
have each entity be a client and a server. The reason for this setup is 
because I initially only want to know the IP address of the Alpha server so 
all of the clients can make requests to it. I can then establish a 
connection and make all the original clients into servers.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/19ffbb53-5940-43fd-a324-2667e0d22fden%40googlegroups.com.

Reply via email to