If you're planning on working on this, it'd probably be worth taking a look at the Twisted bindings for Thrift (a competing RPC system from FB, based on the Google PB paper). 

The generator[2] isn't the best place to start (imperative C++ that outputs python), but the code that it generates served us very well for years (generally, communicating twisted->cassandra, or twisted->scala services).

[1] https://thrift.apache.org/ 
[2] https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/generate/t_py_generator.cc

On 29 September 2016 at 08:34, Stephen Thorne <stephen@thorne.id.au> wrote:
[+Nathaniel]

https://groups.google.com/forum/m/#!topic/grpc-io/RpkyqqQy8TU/discussion

Hi. I'd like to link you to the above discussion and cc it's original poster.  


On Wed, Sep 28, 2016, 22:51 Werner Thie <werner@thieprojects.ch> wrote:
On 9/28/16 9:13 AM, Nursimulu, Khen wrote:
> Thanks Glyth for the prompt response.

>     On Sep 28, 2016, at 6:13 AM, Nursimulu, Khen <knursimu@ciena.com
>     <mailto:knursimu@ciena.com>> wrote:
>
>     Is there a plan (or an implementation) to support gRPC within
>     Twisted Python?   My understanding is that gRPC is built using
>     Futures and creates its own threads for all its event handling.
>     There is also a gRPC Python package (grpcio 1.0.0) that is available
>     for python 2.7.    In order to use gRPC with Twisted Python in 2.7
>     is the only way to have gRPC run in its own thread?
>
> There's no plan that I'm aware of.  You could definitely run gRPC in a
> thread currently, although it would be nice if grpc worked natively with
> Twisted.
>
> Probably contributing this upstream into the gRPC project would be the
> best way to start, and if they're not receptive, starting a separate
> 'txgRPC' project.
>

Interesting, with the browser implementation in the works this could
become a full replacement of nevow/athena

Werner

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python