Re: [Twisted-Python] AlreadyCalledError trying more than a server

2009-09-30 Thread Antonio Beamud Montero
exar...@twistedmatrix.com escribió: > I don't think you've shared enough of your code for anyone to figure out > what you're doing wrong (aside from calling one Deferred's callback > method more than once). Your "runall" function above looks okay, so > perhaps the problem is in some other part

Re: [Twisted-Python] AlreadyCalledError trying more than a server

2009-09-30 Thread Andrew Bennetts
Antonio Beamud Montero wrote: > exar...@twistedmatrix.com escribió: > > I don't think you've shared enough of your code for anyone to figure out > > what you're doing wrong (aside from calling one Deferred's callback > > method more than once). Your "runall" function above looks okay, so > > pe

Re: [Twisted-Python] strange exception on Python 2.6 + Snow Leopard

2009-09-30 Thread exarkun
On 29 Sep, 08:50 pm, p...@bubblehouse.org wrote: >On Sep 29, 2009, at 4:42 PM, exar...@twistedmatrix.com wrote: >>On 08:37 pm, p...@bubblehouse.org wrote: >>>I do see the following issues during compilation, which cause the >>>epoll reactor to fail. I don't use the epoll reactor, so I haven't >>>bo

Re: [Twisted-Python] I found an interisting comment about Twisted vs. Erlang

2009-09-30 Thread Alec Matusis
>It became very painful once >we started getting CPU bound on 32 core CPU machines. We had to run multiple instances of our Twisted server implementation >to saturate the machine. I have since "ported" the same application to Erlang/OTP. It is about 1/5 the amount of code. >And it scales 1:1 horiz

[Twisted-Python] Not understanding buildProtocol(), any clarification?

2009-09-30 Thread John Crawford
Hello, I'm trying to understand and use buildProtocol(), which isn't working as I expected, in two ways :) Question 1. If I have, on the Server side: class MyFactory(Factory): protocol = MyTestProtocol def buildProtocol(self, addr): p = Factory.buildProtocol(se

Re: [Twisted-Python] Not understanding buildProtocol(), any clarification?

2009-09-30 Thread exarkun
On 08:16 pm, cycl...@speakeasy.net wrote: >Hello, I'm trying to understand and use buildProtocol(), which isn't >working as I expected, in two ways :) Question 1. If I have, on the >Server side: > >class MyFactory(Factory): > protocol = MyTestProtocol > def buildProtocol(self, addr)

Re: [Twisted-Python] I found an interisting comment about Twisted vs. Erlang

2009-09-30 Thread Michael Handverger
> The biggest advantage of Twisted is a shorter development time, and the > availability of Python libraries. But I wonder if running something of the > scale of Facebook chat would be feasible at all, or if there are people on > this list that have run many parallelized twisted servers that satur

Re: [Twisted-Python] I found an interisting comment about Twisted vs. Erlang

2009-09-30 Thread Glyph Lefkowitz
On Wed, Sep 30, 2009 at 4:00 PM, Alec Matusis wrote: > The biggest advantage of Twisted is a shorter development time, and the > availability of Python libraries. But I wonder if running something of the > scale of Facebook chat would be feasible at all, or if there are people on > this list tha