activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: Performance issue when selecting messages over 3000+
Date Thu, 11 Aug 2016 12:49:27 GMT
Can you describe in more detail what the behavior you see is?  How long
does the broker take to dispatch the first, second, third, etc. matching
message?  Note that I'm not asking how long it takes for the message to be
consumed; if your consumer code is slow, there's nothing ActiveMQ can do
about it.

You can see the number of messages dispatched to each consumer via JMX or
the web console, and you can see it change by refreshing repeatedly.

Also, what proportion of the messages match your selector?  And are there
any other consumers on that queue at the time?

Tim

On Aug 9, 2016 9:19 AM, "methodho" <methodho@gmail.com> wrote:

Here is the scenario:
1. Start a standalone activemq server (memory persistence)
2. Enqueue 3000+ message to a queue
3. Dequeue by selector (JMSCorrelationID='...'), and the performance is
REALLY bad.

It seems like MessageConsumer is waiting MessageDispatchChannel to get all
the messages from server.

So in this case, How can I solve the problem?

Thanks





--
View this message in context: http://activemq.2283324.n4.
nabble.com/Performance-issue-when-selecting-messages-over-
3000-tp4715224.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message