[rabbitmq-discuss] Rabbit MQ: Improve queue flushing speed
tim at rabbitmq.com
Thu Mar 28 15:48:02 GMT 2013
On 28 Mar 2013, at 15:33, François Beausoleil wrote:
>> The available resources are being underutilized and 10 messages per second is hardly any load in my opinion. How do I speed up things so that messages held up in queue are transferred faster to the client. Possibly using some sort of batching.
> I regularly process 2000 messages per second from durable queues with persistent messages, with a prefetch-count of 2000. My messages are 1500 to 2000 bytes each. The RabbitMQ server and the consumer are both in the same data center. My consumer is writing the messages to disk, in a flat-file.
> There must be something in the Java code which causes the slowdown. Can you post your setup and processing loop?
Thanks François, this is what I was getting at in fact. I too suspect the OP might be doing something a bit odd - care to post your code somewhere so we can review it Priyank?
More information about the rabbitmq-discuss