Re: [Twisted-Python] gRPC support in Twisted Python

2016-10-06 Thread Nathaniel Manista
On Thu, Sep 29, 2016 at 5:41 PM, James Broadhead 
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'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.
-Nathaniel
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python


Re: [Twisted-Python] gRPC support in Twisted Python

2016-10-06 Thread Manish Tomar
On Thu, Oct 6, 2016 at 11:49 AM, Nathaniel Manista  wrote:
> On Thu, Sep 29, 2016 at 5:41 PM, James Broadhead 
> 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@twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>

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

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


Re: [Twisted-Python] gRPC support in Twisted Python

2016-10-06 Thread Nathaniel Manista
On Thu, Oct 6, 2016 at 12:11 PM, Manish Tomar 
wrote:

> It will be nice if it can be implemented without IO [1] as Cory
> rightfully points out everywhere.
>

I'm a big fan of sans I/O; I think it will be interesting to see how much
it can be applied to the C-language library that implements most of the
behavior of gRPC Python.
-N
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python