activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adclayton <>
Subject Re: Artemis Replication before acknowledgement
Date Mon, 23 May 2016 19:27:55 GMT
My cluster configuration is a simple replicated-failback-static configuration
that can be found in the example from the Artemis project given below.

My use case is that my cluster must have zero message loss when failing
over.  The only way to achieve this is with synchronous replication.  The
live server must not acknowledge a message as received and persisted until
it has confirmed the message has been replicated to the backup.

I setup two artemis instances.  The master on my local, and the backup in a
linux VM.  I then used linux netem to simulate a latency of several seconds
between the two machines.  I then ran a test where I pushed many hundreds of
messages onto a durable queue in a transacted session.  My test confirmed
that I was able to push the messages in a few hundred milliseconds, thus
proving that the messages were not replicated to the backup server before
the live server confirmed that they were successfully placed on the queue.  

Is this the expected behavior for this configuration?  Is there another
configuration which does the synchronous replication?  If so can you point
me to an example of this configuration?

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message