[Twisted-Python] multiprocessing capability?

Darren Govoni darren at ontrenet.com
Thu Feb 25 19:01:44 MST 2010


Thank you for that clarification.

On Thu, 2010-02-25 at 19:54 -0600, Christopher Armstrong wrote:

> 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
> > http://docs.python.org/library/multiprocessing.html
> > 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.
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20100225/e49ee28e/attachment.html>


More information about the Twisted-Python mailing list