[Twisted-Python] Advise for heavy concurrency

Tristan Seligmann mithrandi at mithrandi.za.net
Sat Dec 1 21:50:44 EST 2007


* Atilla <theatilla at gmail.com> [2007-12-02 00:37:47 +0100]:

> When it comes to deferToThread - is that actually going to be of any
> use? Do I get an advantage of running the "send" loop in a seperate
> thread? What if, say, I never had to send more than 10-50 messages, so

You cannot call any Twisted functions from a thread, with the exception
of callFromThread; so this would probably be pretty pointless.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20071202/989f2144/attachment.pgp 


More information about the Twisted-Python mailing list