GRPC Communication with multiple remote agents and also scale

31 views
Skip to first unread message

Vishal Pandya

unread,
Mar 13, 2019, 11:10:22 PM3/13/19
to grpc.io
Can somebody please throw light on asynchronous solutions to how to communicate to possibly thousands of remote agents using grpc? Basically a Java process(sending requests, possibly scheduled) to a large number of remote java processes deployed on a large number of remote machines, over grpc. The request is sent to all  the agents in parallel and the responses processed. Thank you.

Carl Mastrangelo

unread,
Mar 14, 2019, 1:17:29 PM3/14/19
to grpc.io
Start 1000 Channels, send the messages, collect the responses.   gRPC should easily scale to that number.   Can you clarify more what you are looking for?

Vishal Pandya

unread,
Mar 17, 2019, 10:26:17 PM3/17/19
to Carl Mastrangelo, grpc.io
Thank you for your response. Should I be looking into a single Java process and multiple thread pools within it to handle parallel requests(scheduled in seconds for example) and their asynchronous grpc responses? One Java thread pool to handle the parallel requests and another to handle or process grpc ASYNC responses? What are the different approaches I can consider or rather prototype?

--
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+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/878e9574-64b7-4b17-92fa-ac1342f8166f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages