[rabbitmq-discuss] Message wait time in a queue

rasadoll rasadoll at gmail.com
Tue Feb 7 17:22:06 GMT 2012


If the publisher and consumer are on different machines, this approach
will not work correctly as their clocks are not synchronized.


On Feb 7, 12:16 pm, Ask Solem <a... at rabbitmq.com> wrote:
> On 7 Feb 2012, at 17:05, rasadoll wrote:
>
> > Thanks Jerry,
> > Your direction would help us to partially address our problem, but we
> > are still interested about the wait time to further optimize our
> > system. We know the time to process and ack a message but we don't
> > know how long it took to start its processing.
>
> You could add a timestamp to the message headers when you publish the message,
> the subtract that when you consume it.
> Of course then the time will include the time it took to send the message, but
> that is probably not an issue?
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


More information about the rabbitmq-discuss mailing list