Overcoming python performance penalty for multicore CPU

Paul Rubin no.email at nospam.invalid
Thu Feb 4 01:57:40 EST 2010


John Nagle <nagle at animats.com> writes:
>    There's enough intercommunication between the threads working on
> a single site that it's a pain to do them as subprocesses. And I
> definitely don't want to launch subprocesses for each page; the
> Python load time would be worse than the actual work.  The
> subprocess module assumes you're willing to launch a subprocess
> for each transaction.

Why not just use socketserver and have something like a fastcgi?



More information about the Python-list mailing list