[rabbitmq-discuss] Response times for publisher confirms
Aaron Pfeifer
aaron.pfeifer at gmail.com
Tue Oct 16 15:46:11 BST 2012
Thanks for the notes! A couple of clarifications:
* There aren't really any other applications running on the box -- it's
entirely meant for RabbitMQ processing only. I've run atop during the
spikes and no other applications are writing to or reading from the disk.
I've added atop output to the gist if there's additional info there worth
noting. You'll notice that both RDDSK and WRDSK drop during this spike for
the RabbitMQ process. https://gist.github.com/3874134
* Currently we're waiting for the confirm after every publish. It's not
ideal, but it's what we're limited to right now. We internally "batch"
publishes (i.e. we group multiple related messages into a single RabbitMQ
message) just due to the reduction in network usage from compression -- is
there an additional batching mechanism supported by the RabbitMQ protocol?
(happy to dive into our batches further, but I'm not sure it's related here)
* I'd say there's a pretty constant throughput in the management UI most of
the time.
-Aaron
On Tue, Oct 16, 2012 at 7:38 AM, Matthias Radestock
<matthias at rabbitmq.com>wrote:
> On 16/10/12 12:28, Tim Watson wrote:
>
>> Yes they're generally much faster than transactions. Bare in mind
>> though, that if you're asking for confirms and the messages are
>> persistent, then you're asking rabbit to fsync to disk repeatedly
>> which is very expensive. Whether or not this is related to what
>> you're seeing every 10 minutes is a little unclear to me, though some
>> of the more knowledgeable rabbits may spot something I've missed
>> here.
>>
>
> Nothing in rabbit is scheduled at a ten minute interval.
>
> I can just about imagine that with a very regular load some ten minute
> pattern might emerge, but the more likely cause is some other application
> causing io contention.
>
> Regards,
>
> Matthias.
>
> ______________________________**_________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.**rabbitmq.com<rabbitmq-discuss at lists.rabbitmq.com>
> https://lists.rabbitmq.com/**cgi-bin/mailman/listinfo/**rabbitmq-discuss<https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20121016/47716ebc/attachment.htm>
More information about the rabbitmq-discuss
mailing list