[Twisted-Python] Twisted scalability with hundreds of outbound (client) connections

Itamar Shtull-Trauring itamar at itamarst.org
Mon Oct 4 11:38:46 EDT 2004


On Sun, 2004-10-03 at 09:26, Phil Mayers wrote:

> I hope I'm explaining what's going on here - but if not, don't worry, 
> the problem is more or less solved for me, thanks for the assistance. 
> The only minor remaining niggle is that the static 0.001 value to 
> callLater limits my theoretical max throughput to 1000 queries/sec.

Using twisted.internet.task.LoopingCall should allow you higher speeds,
as it's smarter than simply calling callLater repeatedly.

-- 
Itamar Shtull-Trauring    http://itamarst.org






More information about the Twisted-Python mailing list