[Twisted-Python] Something like a ThreadPool
Ed Suominen
general at eepatents.com
Wed Jun 18 12:21:49 EDT 2008
kevin beckford wrote:
> Is there any sort of job queue or similar , besides AsynQueue, which
> looked like exactly what i wanted, but is sadly undocumented, native
> to twisted? What is the twisted way to do such a thing? Is there
> something already available?
Kevin, I have to confess that you're right about the "sadly
undocumented" part. I keep promising myself (and others) that I will
rectify the situation, but the motivation is just not as high as I'd
like. I think that's true of a lot of free software; the author write
the stuff to scratch his particular itch and then moves on. As the
originator, he of course needs no documentation, and writing code is
much more fun than writing words.
The only thing I can offer in substitute at the moment are some really
extensive docstrings in the code itself, and the usage examples embodied
in the sAsync and AsynCluster packages, which itself are built on
AsynQueue. Also, see a usage example for AsynCluster at
http://foss.eepatents.com/trac/AsynCluster/wiki/Example_AsynCluster.
Best regards, Ed
More information about the Twisted-Python
mailing list