[Twisted-Python] Question about processes in python
dripton at ripton.net
Mon Apr 12 10:45:32 EDT 2010
On 2010.04.12 16:23:54 +0200, Gabriel Rossetti wrote:
> Jason J. W. Williams wrote:
> > You might want to try Python's multiprocessing code, it works very
> > well. I've had pretty good luck using it with Twisted inside the
> > processes too. The multiprocessing library handles the work of setting
> > up the send and receive file descriptors.
> yes, I was going to use that but I read in several threads that this
> didn't work correctly in Twisted
IMO Jason probably has a lurking bug that he just hasn't noticed so far.
Same thing with using subprocess instead of the Twisted equivalent
inside a Twisted reactor. IMX it works 99% of the time. Murphy's Law
says it'll pass cursory testing and then fail in production.
David Ripton dripton at ripton.net
More information about the Twisted-Python