[rabbitmq-discuss] Alternate Bunny RPC tutorial client
carlhoerberg
carl.hoerberg at gmail.com
Fri May 2 03:17:14 BST 2014
The client in the RPC tutorial for Bunny isn't super performant (maybe not a
hard requirement for RPC) because it creates new consumers over and over
again, but it also has a race condition bug, where messages with "wrong"
correlation_id would be discarded.
http://www.rabbitmq.com/tutorials/tutorial-six-ruby.html
Here's an alternate implementation:
https://gist.github.com/carlhoerberg/96eb730f4c533f61a856
--
View this message in context: http://rabbitmq.1065348.n5.nabble.com/Alternate-Bunny-RPC-tutorial-client-tp35290.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss
mailing list