Re: [Twisted-Python] Handling too many open file descriptors

2010-09-27 Thread Arjan Scherpenisse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Looks like a DeferredSemaphore might be your solution. Have a look at this article, which explains that + a lot more: http://oubiwann.blogspot.com/2008/06/async-batching-with-twisted-walkthrough.html Arjan On 09/27/2010 04:45 PM, Landreville wrote:

[Twisted-Python] OSC protocol implementation

2010-04-26 Thread Arjan Scherpenisse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi list, some months ago, I created an implementation of the OSC protocol [1] in twisted, together with Alexandre Quessy. I've put it to review but so far nobody has responded to it: http://twistedmatrix.com/trac/ticket/4196 As stated in the ticket

Re: [Twisted-Python] How can I send unique configuration data for multiple connections through a factory?

2010-02-10 Thread Arjan Scherpenisse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you create two instances of your ClusterClientFactory, each with a unique string, you should be fine. Requires only a small modification: factory = ClusterClientFactory() factory.maxDelay = 120 # two minutes factory.con