Question

Stackless python allows you to serialize a task (pickling) for later execution that need not be on the same machine: http://www.stackless.com/wiki/Pickling

My question is does stackless python provide any kind of IPC, middleware, service broker, or DDS technology for moving these pickled tasks between processes and or machines? Is it really that we need to use a socket here?

They have this nice concept of a Channel: http://www.stackless.com/wiki/Pickling

That would be awesome if channels worked across machines and you could simple register a channel with a service broker on a network. In essence, allowing you to move your tasks to different stackless python services located on different machines.

Was it helpful?

Solution

The stacklessexamples project lists a number of approaches to do networking; most closely related to your question might be the rpc example.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top