[
https://issues.apache.org/jira/browse/ARTEMIS-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507691#comment-17507691
]
Justin Bertram commented on ARTEMIS-3726:
-----------------------------------------
When you use HA with replication then every message sent to the live broker has
to be _replicated_ to the backup over the network. This process is
_synchronous_ which means the message must be replicated to the backup before
the live broker will respond to the client sending the message. Depending on
the speed of the network between the live and the backup this process can add a
non-trivial amount of overhead. At this point I would say the slow-down you're
seeing is environmental.
In the future, please direct questions like this to the [ActiveMQ users mailing
list|https://activemq.apache.org/contact].
> when using the replica mode in artemis HA, records processing is very slow
> --------------------------------------------------------------------------
>
> Key: ARTEMIS-3726
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3726
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: API, Broker, JMS
> Affects Versions: 2.13.0, 2.20.0
> Reporter: gayatri beela
> Priority: Major
> Attachments: broker_master_replica.xml, broker_slave_replica.xml
>
>
> We are using artemis HA in replica mode with master/slave configuration.
> >From the web application we are connecting to the artemis with
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
> ActiveMQConnectionFactory actMQConnFactory = new
> ActiveMQConnectionFactory(connectionURL);
> where connectionURL we are providing as
> (tcp://serverIP1:61616,tcp://serverIP2:61616)?ha=true&reconnectAttempts=3
> Without HA mode the data is processing very fast. However, When pushing the
> data into the queue in HA mode they are processing very slow (almost triple
> the time )
> Please advise on this behaviour
> [^broker_master_replica.xml] [^broker_slave_replica.xml]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)