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: broker cluster node failure recovery
Date Tue, 04 Nov 2014 00:55:01 GMT
Have you tried shortening the WireFormat's maxInactivityDuration URI option
described at http://activemq.apache.org/configuring-wire-formats.html?

On Thu, Oct 30, 2014 at 9:08 PM, jonb <jburford@solekai.com> wrote:

> I have a network of several brokers where a couple nodes are producers to
> one
> queue and a couple of nodes are consumers on this same queue.  We are
> testing high availability and in doing so pull the network cable on one of
> the consumers.  While this is happening there is a steady message rate on
> this queue of about 100 messages per second.  When the cable is pulled,
> shortly after some messages queue up on the producer nodes up to 60 seconds
> and then about 60 seconds after the network cable is pulled, all these
> queued messages rush to the consumers nodes where they are processed in a
> burst.  Then the system normalizes and all seems to function fine/normally
> without the lost consumer.  Is there any way to shrink this time down to
> something shorter like, say, 5 seconds?  If so, what parameter(s)
> can/should
> I tweak?
>
> Thanks in advance for any suggestions you might have!
>
> FYI - we statically network brokers in the activemq.xml config file like
> so:
>
>     <networkConnector
>
> uri="static:(tcp://producer1:61616,tcp://producer2:61616,tcp://consumer1:61616,tcp://consumer2:61616)"/>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/broker-cluster-node-failure-recovery-tp4686819.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

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