1 Reply Latest reply on Jul 18, 2008 4:45 AM by ataylor

    JBM bridge batch size setting?

    theoverlord

      What values should I use for these JBM bridge configuration items:

      MaxBatchSize
      MaxBatchTime


      I've set mine to MaxBatchSize=10 and MaxBatchTime=2000 but I'm not sure if that's the best setting for me.

      I'm using the bridge to send many frequent messages from a clustered queue to a group of non-clustered Jboss AS instances.

      Each message is consumed and processed by MDBs in usually 100ms or less.

        • 1. Re: JBM bridge batch size setting?
          ataylor

          The MaxBatchSize is how many messages are sent in a batch within a transacted session. If you're sending lots of messages, increasing this property may increase performance. As far as MaxBatchTime goes, this is the maximum time to wait for the batch size to be reached before sending the messages, if you're sending lots of messages very quickly this setting wont make any difference.

          I would suggest running some timing tests yourself to find the optimum settings