Hi Tom,<br><br>Did you ever find a solution?&nbsp; I'm having the same problem and I've run out of ideas on what to do.&nbsp; Any help you could provide would be much appreciated.&nbsp; <br><br>Thanks.<br>Don<br><br>On Tuesday, August 14, 2012 1:32:41 PM UTC-7, Tom Wrigg wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hello.<div><br></div><div>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 <a href="https://github.com/postwait/node-amqp" target="_blank">postwait's amqp-node</a> client with a RabbitMQ server.</div><div><br></div><div>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:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Game Logic server ---&gt; AMQP topic exchange ---&gt; websockets ---&gt; web-browser.</blockquote><div><br></div><div>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.&nbsp;</div><div><br></div><div>Why is it taking so long to route a message? I've read of servers doing 12,000+ messages per second.</div><div><br></div><div>Is there a way to turn off acknowledgements? would this make things faster?</div><div><br></div><div>Are there any other methods I could use to increase speed/ reduce latency?</div><div><br></div><div><br></div><div>Thanks in advance,</div><div><br></div></blockquote>