Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #9977

Re: JMS scalability question

From saxo123@gmx.de
Newsgroups comp.lang.java.programmer
Subject Re: JMS scalability question
Date 2011-11-16 09:35 -0800
Organization http://groups.google.com
Message-ID <5f805cc6-58b1-49e5-933f-4c6dbbceb65d@g7g2000vbd.googlegroups.com> (permalink)
References <bb8b61d2-fe1f-42b8-93d8-2d1a329e6afb@a16g2000yqk.googlegroups.com> <cch7c7lgr584uda3pemeeg5jlfhkdi8jnp@4ax.com>

Show all headers | View raw


Hi Roedy,

thanks for your reply. I see what you mean. You would mostly play with
control valves that are outside the software like adding servers or
adding RAM.

Let's say there are 10 consumers and everyone takes messages from a
queue exclusively assigned to itself. Consequently, there are 10
queues in total. Now, each queue is filled with 100 messages each. I
would expect these 1000 messages in total to be processed faster this
way than, say, 1000 messages sitting in a single queue served by a
single consumer. Naively speaking, those 10 consumers should eat up
those 1000 messages 10 times faster. But this is pure mind gambling.
No clue how things would turn out in reality. Maybe the increased
network traffic of 10 consumers polling a queue instead of a single
one would decrease performance...

Do you think it would be useful to make the "message bus" pluggable in
the sense that some SPI is provided so that anyone can increase the
number of queues if considered appropriate? I wonder whether that kind
of pluggable message bus system already exists. Guess it does since
there must be a need for something like this.

Regards, Oliver

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

JMS scalability question saxo123@gmx.de - 2011-11-15 02:07 -0800
  Re: JMS scalability question Roedy Green <see_website@mindprod.com.invalid> - 2011-11-16 06:21 -0800
    Re: JMS scalability question saxo123@gmx.de - 2011-11-16 09:35 -0800
      Re: JMS scalability question Lew <lewbloch@gmail.com> - 2011-11-16 10:30 -0800
        Re: JMS scalability question saxo123@gmx.de - 2011-11-16 14:25 -0800
          Re: JMS scalability question Lew <lewbloch@gmail.com> - 2011-11-16 17:18 -0800
            Re: JMS scalability question saxo123@gmx.de - 2011-11-16 22:59 -0800
              Re: JMS scalability question jlp <jlp@jlp.com> - 2011-11-17 08:41 +0100
                Re: JMS scalability question saxo123@gmx.de - 2011-11-17 01:00 -0800
      Re: JMS scalability question Roedy Green <see_website@mindprod.com.invalid> - 2011-11-16 16:16 -0800
  Re: JMS scalability question Fredrik Jonson <fredrik@jonson.org> - 2011-11-17 08:11 +0000
    Re: JMS scalability question saxo123@gmx.de - 2011-11-17 01:26 -0800
      Re: JMS scalability question Fredrik Jonson <fredrik@jonson.org> - 2011-11-17 21:01 +0000
        Re: JMS scalability question Saxo <saxo123@gmx.de> - 2011-11-17 23:27 -0800

csiph-web