[Twisted-Python] multiprocessing capability?
johann.borck at densedata.com
Thu Feb 25 22:06:03 EST 2010
Darren Govoni wrote:
> What you refer to is different than what I need. The real 'Process'
> implementation is new to Python 2.6
> and is not supported in Twisted at the moment. The Process or threads
> in Twisted now, use Python threading/process constructs outside of the
> new multiprocessing module, will suffer from the Python GIL
> limitations - which hinders higher performance computing.
Sometimes "that's wrong" is good news: Python Processes spawned using
the twisted API twisted don't suffer any more from GIL limitations than
any other Python Process. That's only true for threads. You seem to
think the multiprocessing module does something that wasn't possible in
Python before, but that's not the case, the twisted version just has a
different API, but does essentially the same thing.
More information about the Twisted-Python