EnqueueTime (which really should have been called EnqueueDuration) =
TimeOfDequeue - TimeOfEnqueue, which correspond to the two events I
described in my first response. TimeOfDequeue is when the message is acked
by the consumer, which depending on how you're configured might be before
the consumer processes the message (auto-ack mode) or after it processes
the message (one of several manual ack modes).

Tim

On Jun 6, 2017 12:52 AM, "Oliver Wulff" <owu...@talend.com> wrote:

> Hey Tim, thanks for the feedback.
>
>
> If the waiting time on the consumer side is included in enqueue time I'm
> wondering what the measurement points are for dequeue time.
>
>
> Thanks
>
> Oli
>
> ________________________________
> Von: tbai...@gmail.com <tbai...@gmail.com> im Auftrag von Tim Bain <
> tb...@alumni.duke.edu>
> Gesendet: Freitag, 2. Juni 2017 14:54:47
> An: ActiveMQ Users
> Betreff: Re: Measurement points of "enqueue time" metric
>
> Enqueue Time is the time between when the message is enqueued on the broker
> and when it is dequeued because the broker receives an ack from the
> consumer. So it doesn't include any time the producer might spend waiting
> for a connection, though it would include time the consumer spent waiting
> for a connection, if consumers were having similar problems.
>
> Tim
>
> On Jun 2, 2017 3:42 AM, "Oliver Wulff" <owu...@talend.com> wrote:
>
> > Hi there
> >
> >
> > We're facing some performance issues with ActiveMQ and came across a high
> > value of average enqueue time of 8200ms which is quite high. I'm
> wondering
> > what the measure points are of "enqueue time"? If the message producer
> has
> > no available connection to the broker is the waiting time included for
> > "enqueue time"?
> >
> >
> > Here the full statistics information of the queue TEST:
> >
> >
> > Name TEST
> > Queue Size 0
> > Producer # 0
> > Consumer # 1
> > Enqueue # 19763
> > Dequeue # 19848
> > Memory % 0
> > Dispatch # 19848
> > Always retroactive FALSE
> > Average blocked time 0
> > Average enqueue time 8284.218158
> > Average message size 24678
> > Blocked producer warning interval 30000
> > Blocked sends 0
> > Cache enabled TRUE
> > Cursor full FALSE
> > Cursor memory usage 0
> > Cursor percent usage 0
> > Dlq FALSE
> > Expired count 0
> > Forward count 0
> > In flight count 0
> > Max audit depth 2048
> > Max enqueue time 1539427
> > Max message size 448947
> > Max page size 200
> > Max producers to audit 1024
> > Memory limit 1336252826
> > Memory usage byte count 0
> > Memory usage portion 1
> > Message group type cached
> > Min enqueue time 0
> > Min message size 4296
> > Options
> > Paused FALSE
> > Prioritized messages FALSE
> > Producer flow control TRUE
> > Slow consumer strategy
> > Store message size 0
> > Total blocked time 0
> > Use cache TRUE
> > Object name org.apache.activemq:type=Broker,brokerName=amq-broker,
> > destinationType=Queue,destinationName=TEST
> >
> >
>

Reply via email to