Jefferson Heard ha scritto:
Multiprocessing is hardly a solution... I realize the Python
interpreter's fairly lightweight on its own, but the weight of a full
unix process plus the weight of the python interpreter in terms of
memory,
With copy on write some memory can be saved (if you preload all the
required modules in the master process).
context switching times,
That's probabily the same as thread switching time.
And if you use asynchronous programming in each of the worker processes,
you can keep the number of required processes at a minimum.
and finally the clunkiness of the
fork() model (which is HOW many years old now?).
Old does not means bad, IMHO.
> [...]
Manlio Perillo
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe