Twisted an several CPUs

Jp Calderone exarkun at divmod.com
Thu May 19 20:09:50 EDT 2005


On 19 May 2005 17:01:11 -0700, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote:
>Jp Calderone <exarkun at divmod.com> writes:
>>   Distributing load across multiple machines scales better than
>> distributing it over multiple CPUs in a single machine.  If you have
>> serious scalability requirements, SMP is a minor step in the wrong
>> direction (unless you're talking about something like 128-way SMP on
>> a supercomputer :)
>
>See PoSH:
>
>  http://poshmodule.sourceforge.net/
>
>The performance gain from multiple CPU's and shared memory is quite real.
>I've been wanting for quite a long time to hack up a web server that
>uses this stuff.

  "performance gain" != "scaling"

  That said, PoSH is kind of an interesting idea.  However, I prefer to share data between processes, instead of PyObject*'s: it performs better, wastes less space, incurs less complexity in the IPC mechanism, and interoperates with non-Python tools.

  Jp



More information about the Python-list mailing list