2 Replies Latest reply on Jul 15, 2002 7:34 AM by sosume

    [JBoss3] multiple subscribers network traffic.

    sosume

      We're currently in the progress of developing a distributed application and we use JBossMQ as our means of communication.

      Since there will be lots of messages between the different nodes of the application network traffic has become an issue.

      At some points in our application we have one topic which can have 0 - N subscribers and which we use to notify the subscribers of events.

      What I'd like to know is how are multiple subscribers on a topic handled by JBossMQ. Are they informed of a new message one at a time using a specific ipmessage for each subscriber or are they informed all at the same time using an ip-broadcast.

      I hope someone can clear this for me.

        • 1. Re: [JBoss3] multiple subscribers network traffic.
          schaefera

          How a message is sent to the subscriber depends on the type of connection. In JBoss you have 4 different ways to send message:
          - in JVM
          - RMI
          - OIL (one socket connection for each JMS connection)
          - UIL (one, multiplexed socket connection)
          Thus the anwser is: IT DEPENDS but whenever it goes over the wire each message is sent on its own (broadcast would bring in limitation based on the network topology which is not desired). For durable subscription message can be sent out of sequence and therefore such a burst would not work.

          Have fun - Andy

          • 2. Re: [JBoss3] multiple subscribers network traffic.
            sosume

            Thnx for your reply, it's a lot clearer now. We've decided to make some changes so broadcasting is no longer
            required.