[Twisted-Python] gRPC support in Twisted Python

Nursimulu, Khen knursimu at ciena.com
Wed Sep 28 13:13:26 MDT 2016


Thanks Glyth for the prompt response.

From: <twisted-python-bounces at twistedmatrix.com> on behalf of Glyph Lefkowitz <glyph at twistedmatrix.com>
Reply-To: "twisted-python at twistedmatrix.com" <twisted-python at twistedmatrix.com>
Date: Wednesday, September 28, 2016 at 2:15 PM
To: "twisted-python at twistedmatrix.com" <twisted-python at twistedmatrix.com>
Subject: Re: [Twisted-Python] gRPC support in Twisted Python


On Sep 28, 2016, at 6:13 AM, Nursimulu, Khen <knursimu at ciena.com<mailto:knursimu at 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.

-glyph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20160928/d7f831ee/attachment-0002.html>


More information about the Twisted-Python mailing list