GIL in the new glossary
Jp Calderone
exarkun at intarweb.us
Sat Oct 4 10:29:55 EDT 2003
On Fri, Oct 03, 2003 at 03:54:39PM -0400, Peter Hansen wrote:
> Dave Kuhlman wrote:
> >
> > Does Twisted make good use of multiple processors?
>
> I think that Twisted, being as it is pure Python, does not make
> _any_ use of multiple processors, or no more than regular Python
> code can.
This is correct. However, it PB is a crazy-easy IPC mechanism, and there
are Twisted apps that launch multiple processes to take advantage of
multiple processors (and just to keep a single CPU busy while one process is
busy with I/O).
Jp
More information about the Python-list
mailing list