Re: [python-tulip] RabbitMQ RPC problem with asyncio

2016-11-23 Thread Yury Selivanov
On 2016-01-18 2:50 PM, Charles-François Natali wrote: No caveats, actually I think this should be the default (that's the asyncio will set it by default in 3.6. Yury

Re: [python-tulip] RabbitMQ RPC problem with asyncio

2016-11-23 Thread Anton VV
What performance do you get after setting TCP_NODELAY? On Monday, January 18, 2016 at 3:11:33 PM UTC+3, Yuriy Homyakov wrote: > > Its works! Thank you very much! > > i have added > transport._sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True) > > is there any caveats? possible problems?

Re: [python-tulip] RabbitMQ RPC problem with asyncio

2016-01-18 Thread Charles-François Natali
No caveats, actually I think this should be the default (that's the case for example for all TCP sockets in Go, zmq also sets it, and all web browers). 2016-01-18 12:11 GMT+00:00 Yuriy Homyakov : > Its works! Thank you very much! > > i have added > transport._sock.setsockopt(socket.IPPROTO_TCP,

Re: [python-tulip] RabbitMQ RPC problem with asyncio

2016-01-18 Thread Yuriy Homyakov
Its works! Thank you very much! i have added transport._sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True) is there any caveats? possible problems? On Monday, January 18, 2016 at 12:06:19 PM UTC+3, Charles-François Natali wrote: > > It's just a random guess, but does asyncio set TCP

Re: [python-tulip] RabbitMQ RPC problem with asyncio

2016-01-18 Thread Charles-François Natali
It's just a random guess, but does asyncio set TCP_NODELAY on the sockets? 2016-01-18 7:33 GMT+00:00 Yuriy Homyakov : > Hi! > > I am trying to implement RPC through RabbitMQ, described here > http://www.rabbitmq.com/tutorials/tutorial-six-python.html > > With pika and twisted i getting 1000 RPC c

[python-tulip] RabbitMQ RPC problem with asyncio

2016-01-17 Thread Yuriy Homyakov
Hi! I am trying to implement RPC through RabbitMQ, described here http://www.rabbitmq.com/tutorials/tutorial-six-python.html With pika and twisted i getting 1000 RPC calls per second, similar implementation on asyncio yields only 25 RPC calls per second. Asyncio adapter for pika i implement my