[Twisted-Python] Advice on doing thousands of simultaneous UDP queries with Twisted...

Itamar Shtull-Trauring itamar at itamarst.org
Mon Feb 16 20:40:06 EST 2004

On Mon, 2004-02-09 at 05:51, Mike C. Fletcher wrote:

> Writing a simple asynchronous loop myself (poll on a simple socket, send 
> message from queue when writable, read one into other queue when 
> readable) allowed for doing a few thousand queries simultaneously), with 
> only a few dozen dropped messages.  However, with the Twisted equivalent 
> (UDPTransport with my simple protocol object), I was seeing huge drop 
> rates, so, gathering that Twisted isn't queueing up the UDP requests,

Possibly we need some generic UDP queuing, rather than current system.
Patches are welcome.

Itamar Shtull-Trauring    http://itamarst.org
Looking for a job: http://itamarst.org/resume.html

More information about the Twisted-Python mailing list