Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-16 Thread Kevin Horn
On Sat, Sep 5, 2009 at 9:07 AM, Bokhan Artem wrote: > Laurens Van Houtven пишет: > > Are you sure it's dying out because of CPU limitations? > > Yes, with 1k req/s cpu is 100% busy with python. > > > Can you show any real applications where this happens? > > I do not have real application in pyth

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-15 Thread Artem Bokhan
Is there any know implementation of the method author of this thread http://twistedmatrix.com/pipermail/twisted-python/2009-April/019478.html talks about? Bokhan Artem пишет: > Hello. > > Is there right (standard) way to write twisted network server > (tcp/web/mail/etc) which could use several c

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-05 Thread Bokhan Artem
Laurens Van Houtven пишет: > Are you sure it's dying out because of CPU limitations? Yes, with 1k req/s cpu is 100% busy with python. > Can you show any real applications where this happens? I do not have real application in python/twisted now. That could be any internet server with high load

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-05 Thread Laurens Van Houtven
Are you sure it's dying out because of CPU limitations? Can you show any real applications where this happens? In my experience your network IO always gives up ages before my processors croak :-) I happen to be in the middle of writing a project with a big computational component (at least when I'

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-05 Thread Bokhan Artem
Glyph Lefkowitz пишет: > On Fri, Sep 4, 2009 at 4:59 PM, Bokhan Artem > wrote: > > Hello. > > Is there right (standard) way to write twisted network server > (tcp/web/mail/etc) which could use several cpu cores? For example, > master+workers model, where e

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-04 Thread Glyph Lefkowitz
On Fri, Sep 4, 2009 at 4:59 PM, Bokhan Artem wrote: > Hello. > > Is there right (standard) way to write twisted network server > (tcp/web/mail/etc) which could use several cpu cores? For example, > master+workers model, where every worker doing the same job. > If so, may somebody help to wrap the

[Twisted-Python] network server on multiprocessor hardware

2009-09-04 Thread Bokhan Artem
Hello. Is there right (standard) way to write twisted network server (tcp/web/mail/etc) which could use several cpu cores? For example, master+workers model, where every worker doing the same job. If so, may somebody help to wrap the sample code below? May be some well-known twisted based software