[Stackless] parallel processing
aaron at reportlab.com
Wed Oct 9 17:21:53 CEST 2002
I'm heading towards finally doing another rewrite of Gadfly based
in stackless, which might be kind of similar to Odin, maybe, fwiw.
Regarding parallel processing I see 2 issues: (1) using multiple cpus
in the same process and (2) distributing related tasklets across
cpus in different processes (maybe on different boxes connected in a
(1) Requires some basic changes to the Python interpreter like the
"free threaded python" that Greg Stein played with some years back.
(2) I think can be implemented a number of different ways now, with
restrictions -- basically you've got to come up with some sort of a protocol
to do channel communication using sockets and some sort of a notion of
a services directory or some such...
my 2c. -- Aaron Watters
Richard Emslie wrote:
>On Wed, 9 Oct 2002, Stephan Diehl wrote:
>>I'm new to stackless and new to the list (hi chris). I just played aound a
>>little so far.
>>I've a question regarding the greater picture of all of that. The features of
>>stackless (besides being stackless :-) come from the background of parallel
>>computing and network computing. So far, Python seems to be more of a single
>>processor language (GIL). Are there any plans or thoughts about building a
>>parallel python, or some framework that dispatches tasklets to free resources
>>(on the same machine or a remote computer)?
>I'm working on an object database called Odin which effectively does
>the above (plus a little more). At the moment it is not even in
>alpha and requires a rewrite of the object schema (was XML Schema) before
>the parallel framework can be brought into operation. Odin has a
>microkernel / message passing design and will take care of all the object
>/ tasklet locking, transparent communication (with unix domain sockets /
>UDP / myrinet bindings), etc.
Stackless mailing list
Stackless at www.tismer.com
More information about the Stackless