3 Replies Latest reply on May 7, 2009 4:20 PM by clebert.suconic

    jboss messaging

      Hi Forum,

      We are implementing a application in which huge amount of data will come and will send to 4 systems using jms messaging, we used Queue. But it is taking 4 hr to send all the data to listeners (4 systems/computers).

      To improve the speed we removed the Jboss messaging (sender and listener) concept in our application and we wrote a shell script to split the file into 4 parts and it will send it to four systems there the messages will further process. Due to this messages are sending with in 40 min.

      Is there any way to do this using Jboss Messaging, so that my application will not take 4 hrs?

      Thanks in advance.

        • 1. Re: jboss messaging
          gaohoward

          Hi, can you give some more details? for example how huge is the amount of your data like? is it huge number of normal sized messages or some messages of which each has a very large size?

          Usually sending messages in batch will improve performance.

          • 2. Re: jboss messaging
            peterj

            What kind of data? If you zipped the file do you get a decent reduction in size? If so, try zipping it before sending it.

            • 3. Re: jboss messaging
              clebert.suconic

               

              "analyst@8_java" wrote:

              Is there any way to do this using Jboss Messaging, so that my application will not take 4 hrs?


              Are you using NonPersistentMessages?

              If you are using a sheel, it seems you don't need an extra level of persistence.

              Like.. if someting happens, you could have the producer sending the messages again after some sort of request.