[rabbitmq-discuss] Optimizing RabbitMQ
Tom Wrigg
tadw99 at googlemail.com
Tue Aug 14 21:32:41 BST 2012
Hello.
I'm writing a real-time browser-based game using node.js and AMQP and would
like to know how to optimise the AMQP server to achieve a high throughput-
low latency system. I'm using postwait's amqp-node<https://github.com/postwait/node-amqp>client with a RabbitMQ server.
The game logic runs on the server. Every 20ms a world update message is
sent to the client to render which each has a length of about 4000 bytes:
Game Logic server ---> AMQP topic exchange ---> websockets ---> web-browser.
I've done a quick test to measure the time it takes for the message to be
published, routed and reach it's destination which came out at 40ms. This
seems quite slow.
Why is it taking so long to route a message? I've read of servers doing
12,000+ messages per second.
Is there a way to turn off acknowledgements? would this make things faster?
Are there any other methods I could use to increase speed/ reduce latency?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120814/62b8e384/attachment.htm>
More information about the rabbitmq-discuss
mailing list