1 Reply Latest reply on Dec 13, 2012 7:27 AM by ataylor

    Failover takes long time

    dastraub

      We have a application with about 200 deployed Queues, 40 Queues are active and have a total of 139 Consumer.

      An failover between active and backup server needs about 13 seconds (HQ 2.2.14-Final) :

       

      2012-12-13 09:40:53,383 INFO  [org.hornetq.core.server.impl.HornetQServerImpl][Activation for server HornetQServerImpl::serverUUID=3d9328d3-4490-11e2-b803-cb52b16499cf] trying to deploy queue ...

      ...

      2012-12-13 09:41:06,109 INFO  [org.hornetq.core.server.impl.HornetQServerImpl][Activation for server HornetQServerImpl::serverUUID=3d9328d3-4490-11e2-b803-cb52b16499cf] Backup Server is now live

       

      Is there a way to speed up the failover process, eg by parallelisation ?

        • 1. Re: Failover takes long time
          ataylor

          The time is taken reading the journal in and this has to be done sequentially, as long as you configure the clients corectly then this shouldnt be an issue. If you want to shorten the time taken you could adjust producer flow controller so the queues have less messages in