public marks

PUBLIC MARKS with tags AMQP & rabbitmq

August 2009

Joseph's Blog - RabbitMQ, AMQP gem, and EventMachine

by greut

RabbitMQ 1.6 has an option to set a pre-fetch limit. So we simply set the pre-fetch limit to 1, and our EventMachine loop runs nice and fast now. You'll want to tweak your pre-fetch limit depending on how long it takes to process each message. If you can churn through a hundred messages a second, you probably won't even notice this problem and the prefetching will help you, but if it takes you a few seconds (or minutes) per message, you'll wonder why things aren't popped off the queue for several minutes (or hours).

January 2009

December 2008

December 2007

PUBLIC TAGS related to tag AMQP

amazon +   cloud +   EC2 +   rabbitmq +  

Active users

greut
last mark : 01/08/2009 06:24

jey
last mark : 11/01/2009 13:00