[Twisted-Python] fast high load protocol

2010-02-16 Thread Vlad Shevchenko
20) response time incredibly growing up. Unlike PB, json-rpc implementation keeps it response-time near the same lever as with small return data. Can you suggest some protocol with a small response? Or should I look into development of my own? -- WBR, Vlad Shevche

Re: [Twisted-Python] fast high load protocol

2010-02-16 Thread Vlad Shevchenko
Really I need a large amount of data to be available before I can begin calculations, Json-PRC vs. PB provide a 10+ times smaller response time for same returning data On Tue, Feb 16, 2010 at 10:08 PM, Phil Christensen wrote: > On Feb 16, 2010, at 2:46 PM, Vlad Shevchenko wrote: > &g

Re: [Twisted-Python] fast high load protocol

2010-02-16 Thread Vlad Shevchenko
CLIENTS 392 ERRORS 27 ERRORS 0 On Tue, Feb 16, 2010 at 10:08 PM, Phil Christensen wrote: > On Feb 16, 2010, at 2:46 PM, Vlad Shevchenko wrote: > > I have developed two kind of servers: > >api - http server > >memory_db - dict-based server with

Re: [Twisted-Python] fast high load protocol

2010-02-21 Thread Vlad Shevchenko
iling list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python -- WBR, Vlad Shevchenko ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] fast high load protocol

2010-02-21 Thread Vlad Shevchenko
Sun, Feb 21, 2010 at 8:18 PM, Johann Borck wrote: > Vlad Shevchenko wrote: >> Thanks a lot, Stephen. >> >> AMP probably is what I looking for. Now I can handle a much more >> clients (2 times more without significantly increasing response time). >> Server can also han

[Twisted-Python] How to use AmpList?

2010-03-27 Thread Vlad Shevchenko
Hi, can't find any reference of how to use AmpList. What should be passed to callRemote? In command: arguments = Amp.List(...) or arguments = [('param', AmpList(...))]? Responder params? Please, advice some refs or examples. -- WBR, Vlad ___ Twisted-Py

Re: [Twisted-Python] How to use AmpList?

2010-03-29 Thread Vlad Shevchenko
No one use AmpList? On Sat, Mar 27, 2010 at 11:45 PM, Vlad Shevchenko wrote: > Hi, > can't find any reference of how to use AmpList. What should be passed to > callRemote? In command: arguments = Amp.List(...) or arguments = [('param', > AmpList(...))]? Responder para

Re: [Twisted-Python] How to use AmpList?

2010-03-29 Thread Vlad Shevchenko
Thank you, it helps a lot. I've made a mistake in calling callRemote. On Mon, Mar 29, 2010 at 4:51 PM, Peter Westlake wrote: > > > On Mon, 29 Mar 2010 14:54 +0300, "Vlad Shevchenko" > wrote: > > No one use AmpList? > > > > On Sat, Mar 27, 201

Re: [Twisted-Python] How to use AmpList?

2010-03-29 Thread Vlad Shevchenko
Thanks, nice point to dive in. On Mon, Mar 29, 2010 at 4:52 PM, David Ripton wrote: > On 2010.03.27 23:45:42 +0200, Vlad Shevchenko wrote: > > Hi, > > can't find any reference of how to use AmpList. What should be passed to > > callRemote? In command: arguments =

[Twisted-Python] AmpList: length limitations

2010-03-31 Thread Vlad Shevchenko
Hi all! Stuck with AmpList again :( Im trying to send/retrieve data much larger then 64K and choose AmpList cause it "Convert a list of dictionaries into a list of AMP boxes". My original data looks like a long list of dicts [ {1}, {2}, ..., {x} ]. I convert it to [ {'data': 'json encoded

Re: [Twisted-Python] AmpList: length limitations

2010-03-31 Thread Vlad Shevchenko
gt; > The associated ticket is #2529. > > > >-- > >WBR, Vlad > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- WBR, Vlad Shevchenko ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python