[Twisted-Python] gRPC support in Twisted Python

Manish Tomar manish.tomar at gmail.com
Thu Oct 6 13:11:22 MDT 2016


On Thu, Oct 6, 2016 at 11:49 AM, Nathaniel Manista <nathaniel at google.com> wrote:
> On Thu, Sep 29, 2016 at 5:41 PM, James Broadhead <jamesbroadhead at gmail.com>
> wrote:
>>
>> If you're planning on working on this,
>
>
> We don't currently have plans to implement it ourselves; we're trying to
> invoke the magic of open source. So far the feature requests we've gotten
> have been all over the map (gevent/asyncio/async-await) that what's most
> important right now is just fostering the conversation among everyone who is
> interested about what the desired behavior of gRPC Python will be.
It will be nice if it can be implemented without IO [1] as Cory
rightfully points out everywhere.
>
>> 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
>
>
> Please contribute this to the thread/design document/conversation.
Thanks! I'll probably try to mention about sans-IO part there.
> -Nathaniel
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

[1] https://sans-io.readthedocs.io/




More information about the Twisted-Python mailing list