[Twisted-Python] UDP servers and socket queues

Itamar Shtull-Trauring itamar at itamarst.org
Mon Apr 21 09:16:06 MDT 2003


On Mon, 21 Apr 2003 15:26:57 +0100
Phil Mayers <p.mayers at imperial.ac.uk> wrote:

> The problem is that the flurry of activity fills the UDP socket queue,
> and I think some simple changes to SelectReactor (which I've done
> locally via a nasty/messy subclass) which could be useful to others
> will fix it:

I'll take a look at trying to fix this sometime this week. The solution
will be to do up to X reads of UDP packets in each iteration of the
event loop, instead of reading only one packet in each iteration. 

-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting




More information about the Twisted-Python mailing list