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: Network Connector too slow when receive high rate persistent message
Date Wed, 25 Jan 2017 06:19:11 GMT
Sounds like the persistence store might be your bottleneck; how do you have
it configured?

On Jan 24, 2017 6:53 AM, "francong2000" <franco.ng@shkf.com> wrote:

I have set up ActiveMQ 5.14.3 cluster (2 Brokers) with using Network
Connector.  I tried to send 4,000 persistent message to a queue in 300
msg/sec rate.  The Producer can send same rate (300m/s) with using
"useAsyncSend=true", however, consumer just can receive all messages in *40
msg/sec* rate.  How to tune and what configuration I need to change?

/Remark: Another test results/
             If only 1 broker, it can reach 300 m/s (persistent) for both
producer and consumer.
             If 2 brokers and send non-persistent message, it can reach 300
m/s for both producer and consumer.

Configuration of Broker 2
================
        <networkConnectors>
                <networkConnector  name="LinkToBroker1"  duplex="true"
networkTTL="3"
uri="static:(tcp://POC1:61616)?wireFormat.maxInactivityDuration=0"
prefetchSize="10000" userName="system" password="manager" >
                        <dynamicallyIncludedDestinations>
                        </dynamicallyIncludedDestinations>
                </networkConnector>
        </networkConnectors>




--
View this message in context: http://activemq.2283324.n4.
nabble.com/Network-Connector-too-slow-when-receive-high-
rate-persistent-message-tp4721293.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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