6 Replies Latest reply on Oct 11, 2012 10:30 AM by Clebert Suconic

    Latency issues for multiple consumers

    raymanf Newbie

      Hi,

       

      I am using Spring3.1 in standalone env.

       

      I have intergrated into with HornetQ ver 2.2.14

       

      I have simple Hornetq Topic which is configured via spring jms template.

       

      After warming up with more then 10,000 messages I am getting a huge latency problem.

       

      If for instance I have two consumers(which doing exactly the same):

       

      The first consumer getting the topic message in a reasonable time

      The second consumer get the same message within huge latency.

       

      here are some logs:

       

      before topic dispatch:

       

      012-10-10 13:53:25,485...[DEBUG] speedTest4.

       

      after retrieving the messages:

       

      Consumer 1 - 2012-10-10 13:53:25,487 ... [INFO] speedTest5

      Consumer 2 - 2012-10-10 13:53:31,647... [INFO] speedTest5

       

      The latency of consumer 2 is redicioules.

       

      We are despert with this.

       

      what could be the problem?

       

      thanks.