[rabbitmq-discuss] RabbitMQ QUEUE MESSAGES
bison_art at o2.pl
Tue Jul 2 14:36:24 BST 2013
Hi I have question about buffering messages in RabbitMQ server. When my
producer try to send more messages than consumer could read than messages
should be queued. I suppose that all messages that producer want to send to
messages broker would be on the queues, but after some time there is flow
control fired and my producer couldn't send as much messages as I want to.
How could I turn off that feature?
I desribe my workaround for that:
I wrote special module to queue messages. I see that if RabbitMQ doesn't
have messages on its queues it works fast. So if my producer would want to
send more messages than consumer can read, than my module store them in its
memory and publish the messages to message broker when consumer's queue is
In normal situation it should look like this
Producer -> RabbitMQ -> Consumer
but in that scenario producer's sending is slowed down by the RabbitMQ flow
My scenario is
Producer -> RabbitMQ -> Buffer Module -> RabbitMQ -> Consumer
because RabbitMQ message broker is as I see only to route the messages not
to store them.
I changed also watermark to 100 and disk_free_limit is set to 0.
View this message in context: http://rabbitmq.1065348.n5.nabble.com/RabbitMQ-QUEUE-MESSAGES-tp27737.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
More information about the rabbitmq-discuss