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


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

Re: JMS scalability question

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: JMS scalability question
Date 2011-11-16 06:21 -0800
Organization Canadian Mind Products
Message-ID <cch7c7lgr584uda3pemeeg5jlfhkdi8jnp@4ax.com> (permalink)
References <bb8b61d2-fe1f-42b8-93d8-2d1a329e6afb@a16g2000yqk.googlegroups.com>

Show all headers | View raw


On Tue, 15 Nov 2011 02:07:31 -0800 (PST), saxo123@gmx.de wrote, quoted
or indirectly quoted someone who said :

>let's say there were a situation like this: Some producers send
>thousands of messages through a JMS system to some thousands
>consumers. What is the best approach towards scalability?

Other than doing an experiment, you think this way.

Most likely the bottleneck is disk i/o.  Pretty much any approach is
going to bog behind the bottleneck of a single moving disk arm.  To
fix that you can:

1. throw RAM at it.
2. use an SSD for the database . See
http://mindprod.com/bgloss/ssd.html
3. see if you can find a JMS implementation that is more of a RAM hog.
4. tweak the OS and JVM to do what you can to optimise amount of
Virtual RAM and disk caching RAM. 

If by some chance CPU is the bottleneck, you have have a look at how
you could use two independent servers with message routed between them
over a LAN.

I would watch it running under as much load as you can muster to see
what the bottleneck is.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
I can't come to bed just yet. Somebody is wrong on the Internet. 

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