[Twisted-Python] Why deferToThread is so slow?

Glyph glyph at twistedmatrix.com
Fri Jun 3 20:55:02 MDT 2016


> On Jun 3, 2016, at 19:10, Gelin Yan <dynamicgl at gmail.com> wrote:

> 
> Hi Mark
> 
>      You mentioned deferToThreadPool. I am curious whether the standard threadpool in multipleprocessing.dummy works with twisted.

deferToThreadPool uses a Twisted threadpool interface, not a stdlib one.

-glyph



More information about the Twisted-Python mailing list