aspose file tools*
The moose likes Performance and the fly likes 200 users working concurrently on a system, is my configuration ok? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "200 users working concurrently on a system, is my configuration ok? " Watch "200 users working concurrently on a system, is my configuration ok? " New topic
Author

200 users working concurrently on a system, is my configuration ok?

Adrian Burlington
Ranch Hand

Joined: Jun 16, 2009
Posts: 75
Hi Guys,
My team and I have built a web application (struts2+hibernate) with:
1. Tomcat
2. Apache
3. MySQL
I have a server with 16Gb RAM and currently we have 40 users where at most 10 of them are working concurrently.

So far this configuration was working very good for the past 3 year.

Now...we were requested to upgrade the system so ~200 users can work concurrently. Should I change anything in the configuration I presented above? My concern is if Tomcat/Apache/MySql are still a good components to be used if more users are going to use the application concurrently? (disk space is not an issue at the moment --the db is ~ 1gb and may grow to 20 gb in 3 years).

Thanks for any pointers/articles or your 2 cents.

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

Adrian,
You are going to have to do a load test to see how your system performs. It will depend heavily on what your system does, how long each query takes, how intensive it is,, etc.

When you do the test, make sure you discuss what "concurrent" means. Does it include "think time" that human users would have?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Adrian Burlington
Ranch Hand

Joined: Jun 16, 2009
Posts: 75
Thanks for the quick reply. I understand the issue with 'think time' and I would definitely preform this test. What other companies are using when they need to handle 200+ users? For example, would THIS site use the same components? (what are the alternatives). Thanks again
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

This site uses 8 x 2.6 GHz processors, generally running at about 20% load; 16GB RAM. See: this.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

This site doesn't have intensive backend processes. If you have significantly more processing/back end processes, it can't be compared adequately.
Adrian Burlington
Ranch Hand

Joined: Jun 16, 2009
Posts: 75
so for 200 users, assuming they do INSERT/UPDATE and SELECT - but nothing complicated (think of a simple form ~ 6 fields) would tomcat and apache be a good choice? and if I wished to take it to another level - what would that be?
Thanks!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41820
    
  62
You can't generalize like that. 200 users can be a lot, or they can be hardly worth mentioning. Your description seems more like it would fall in the latter category, assuming that nothing else is happening than what you describe.

Tomcat and Apache httpd (or even Tomcat without Apache httpd) are fine for much higher loads; I don't think there's a point where I'd say you need to use something else. But there will be a point where you need to use more than a single server. Whether or not you need to do that for 200 users we can't say from the information provided so far.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 200 users working concurrently on a system, is my configuration ok?