[Twisted-Python] IPushProducer - medium volume streaming

Christopher Armstrong radix at twistedmatrix.com
Sun Oct 28 12:11:20 EDT 2007

On 10/28/07, Rutt, Benjamin <Benjamin.Rutt at gs.com> wrote:
> It's a long-running streaming flow so there will be millions of results
> to send to the client.  You're saying I call deferToThread millions of
> times?

No, I was just correcting your description of the way that
deferToThread is used.

If you don't want to use deferToThread, then you should probably use a
combination of reactor.callInThread and reactor.callFromThread.

Christopher Armstrong
International Man of Twistery

More information about the Twisted-Python mailing list