Hi Nathaniel,

yes I upgraded to latest python version of grpc (1.0.0rc1) but in all the 
examples that I checked the scenario is the following:

- start server

- start client

- client send message to server that reply 
(https://github.com/grpc/grpc/blob/846768c12ff03ea69073c9373ef211ef478c53d6/examples/python/helloworld/greeter_client.py#L42)


I need to create a scenario where is the server that send message to client 
once both are up and running (as first that initiate the communication).

Maybe I'm missing something in the example/documentation, could you please 
point me where to look?


Thanks

________________________________
From: Nathaniel Manista <[email protected]>
Sent: Thursday, July 28, 2016 6:52:58 PM
To: Mosca, Federico
Cc: [email protected]
Subject: Re: [grpc-io] gRPC - server client communication

Pleased to meet you, Federico.

On Thu, Jul 28, 2016 at 5:05 AM, Mosca, Federico 
<[email protected]<mailto:[email protected]>> wrote:
we are trying to use gRPC in the following configuration:

-          a test_runner the initiate both client and server

-          once up, client and server should exchange messages in a 
bidirectional way

-          with the server that start to send messages

-          at the end of the tests both client and server are shutting down
Is it possible to create something similar with gRPC?

This exact scenario is achievable with gRPC.

I saw something similar in this paper 
http://platformlab.stanford.edu/Seminar%20Talks/gRPC.pdf

We are using python, is there any example or documentation to explain how to do 
if it is possible?

Have you yet seen the documentation at grpc.io<http://grpc.io> (one note on 
timing: we're preparing for our 1.0.0 release and some of this documentation 
has not yet been updated)? Have you yet seen the examples in our repository at 
examples/python<https://github.com/grpc/grpc/tree/846768c12ff03ea69073c9373ef211ef478c53d6/examples/python>
 (be sure to use grpcio 1.0.0rc1<https://pypi.python.org/pypi/grpcio/1.0.0rc1> 
or later when working through these examples)?

(also in another languages is fine).

Other languages are similarly set up with documentation and examples.
-N

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/HE1PR0401MB2426D03960AE1A850B7B7CF1E7000%40HE1PR0401MB2426.eurprd04.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to