[rabbitmq-discuss] Reduce message latency

Lost w_pg at qq.com
Fri Jul 11 02:49:43 BST 2014


This is my test on my machine(Win7 64Bit)
 runjava.bat com.rabbitmq.examples.PerfTest -y 1 -t "fanout"
starting consumer #0
starting producer #0
time: 1.004s, sent: 6500 msg/s, received: 3835 msg/s, min/avg/max latency: 56688/397343/461860 microseconds
time: 2.010s, sent: 8569 msg/s, received: 10593 msg/s, min/avg/max latency: 28248/152367/530374 microseconds
time: 3.019s, sent: 14056 msg/s, received: 14002 msg/s, min/avg/max latency: 23924/47356/92764 microseconds
time: 4.035s, sent: 14766 msg/s, received: 14806 msg/s, min/avg/max latency: 22454/43967/79098 microseconds
time: 5.035s, sent: 14974 msg/s, received: 15155 msg/s, min/avg/max latency: 22796/45204/75959 microseconds
time: 6.035s, sent: 15688 msg/s, received: 15597 msg/s, min/avg/max latency: 23521/44053/79210 microseconds
time: 7.037s, sent: 14494 msg/s, received: 14538 msg/s, min/avg/max latency: 9377/45745/87104 microseconds
time: 8.037s, sent: 15988 msg/s, received: 15242 msg/s, min/avg/max latency: 12745/40687/79064 microseconds
time: 9.042s, sent: 15166 msg/s, received: 15773 msg/s, min/avg/max latency: 20401/44023/83005 microseconds
time: 10.047s, sent: 15745 msg/s, received: 15857 msg/s, min/avg/max latency: 19345/41106/90384 microseconds
time: 11.047s, sent: 15168 msg/s, received: 15135 msg/s, min/avg/max latency: 18543/44455/71619 microseconds
time: 12.047s, sent: 15815 msg/s, received: 15911 msg/s, min/avg/max latency: 21204/39684/62742 microseconds
time: 13.055s, sent: 15140 msg/s, received: 14901 msg/s, min/avg/max latency: 20643/44745/88437 microseconds
time: 14.057s, sent: 15366 msg/s, received: 15530 msg/s, min/avg/max latency: 16885/43054/71122 microseconds
time: 15.057s, sent: 15345 msg/s, received: 15336 msg/s, min/avg/max latency: 9193/43760/85081 microseconds
time: 16.059s, sent: 15666 msg/s, received: 15498 msg/s, min/avg/max latency: 17244/44310/82039 microseconds
  
 I found message avg latency is 40000~45000 microseconds, it need 40~45 milliseconds.
 Is there any possible to reduce message latency?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140711/a04808a0/attachment.html>


More information about the rabbitmq-discuss mailing list