[Python-ideas] solving multi-core Python

Sturla Molden sturla.molden at gmail.com
Thu Jun 25 11:35:34 CEST 2015


Nathaniel Smith <njs at pobox.com> wrote:

> Continuing my vague and uninformed impressions, I suspect that this
> would actually be relatively easy to fix by hooking the import system
> to do something more intelligent, like nominate one node as the leader
> and have it do the file lookups and then tell everyone else what it
> found (via the existing message-passing systems). 

There are two known solutions. One is basically what you describe. The
other, which at least works on IBM blue brain, is to import modules from a
ramdisk. It seems to be sufficient to make sure whatever is serving the
shared disk can deal with the 100k client DDoS.

Sturla



More information about the Python-ideas mailing list