1 Reply Latest reply on Dec 1, 2010 7:18 PM by clebert.suconic

    Question: What are the Implications of setting connection TTL very low

    aengineer

      I am trying to understand what the consequences are of setting connection-ttl very low (say 2 seconds). I know that it will end up closing connections even if we had a temporary network glitch that lasted more than connection-ttl. But if the connection factory is configured to retry, then the connection should get re-established and the JMS client should continues on. We may need to add code to catch exceptions on the client side and retry.

       

      Can anyone share their opinions?

       

      Thanks

      Aspi Engineer

      Putnam Investments

        • 1. Re: Question: What are the Implications of setting connection TTL very low
          clebert.suconic

          I guess it should be ok. You would eventually have to retry on transactions and do proper exception treatment.

           

          This shouldn't be a problem unless you have pretty bad GCs. (What needs to be monitored / tested anyways)

           

           

          I know you guys are really careful with your environment and you guys should do your own load tests. So, another reason to think this is ok.

           

           

          Anyone else please feel free to share your opinions on this also.