activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geurt Schimmel <GSchim...@schubergphilis.com>
Subject Re: bad performance, and loosing messages
Date Sat, 16 Mar 2013 23:45:20 GMT
Fixed by setting jms.optimizeAcknowledge=true:

http://activemq.apache.org/optimized-acknowledgement.html

Thanks

On 15 mrt. 2013, at 17:26, "Geurt Schimmel" <GSchimmel@schubergphilis.com<mailto:GSchimmel@schubergphilis.com>>
wrote:

We have a number of broker-networks with static bridges in between. We are experiencing bad
performance, and loosing messages. Jvm -Xms1024M -Xmx1024M, queue memorylimit 64Mb, producerflowcontrol
true. 500 Messages of 200 bytes are posted by a Stomp-client to only one node at a rate of
200 msg/sec.  Interesting enough, exactly 75% is lost. Decreasing the rate or message size
hardly influences the results.

Please advise...

The typical config of all nodes (with a different uri for each network-of-brokers) is:

 <transportConnector name="openwire" uri="ssl://0.0.0.0:61616?jms.prefetchPolicy.queuePrefetch=4000"
updateClusterClients="true" rebalanceClusterClients="true" updateClusterClientsOnRemove="true"/>

    <networkConnector name="BrokerLinkPmq101ToOmq" userName="system" password="${activemq.password}"
uri="static:(failover:(ssl://omq101-front:61616,ssl://omq401-front:61616)?randomize=false&amp;priorityBackup=true)"
 conduitSubscriptions="false" decreaseNetworkConsumerPriority="true" duplex="true" networkTTL="10"
prefetchSize="4000" staticBridge="true" suppressDuplicateQueueSubscriptions="true" >
       <staticallyIncludedDestinations>
       ....
       </staticallyIncludedDestinations>
     </networkConnector>

Thanks !

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