[Twisted-Python] multiprocessing capability?
radix at twistedmatrix.com
Thu Feb 25 20:54:17 EST 2010
On Thu, Feb 25, 2010 at 7:33 PM, Darren Govoni <darren at ontrenet.com> 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.
> It works, sure. But its not what I'm asking about.
I think you're a bit confused. You said "use Python threading/process
constructs outside of the new multiprocessing module, will suffer from
the Python GIL limitations".
The "GIL limitations" *only* apply to threads, not processes. You can
take advantage of multiple CPUs in Python by running multiple
processes, no matter what technology you use to start those processes.
More information about the Twisted-Python