aspose file tools*
The moose likes Servlets and the fly likes How i check this? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How i check this?" Watch "How i check this?" New topic
Author

How i check this?

Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 492

1 My compute have 1GB RAM & 3.2Ghz Processor with 150GB Hard disk. If i create servlet program with database regarding student & their results. & i connect my computer to network. Then how many client can access same time that servlet? I know every request convert into thread so load is low, but how i check my servlet flexibility? At which point server will hang because of many user accessing same servlet? where i get info regarding this? i try to search on net but i didn't get proper link.


Millions saw the apple fall, but Newton asked why.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

This kind of information is difficult to find because every app is different - performance results for one application do not help predict the performance of another application. Perhaps the closest you can come is the SPEC web site, looking at the JAppServer results. But that is a full-blown Java EE app, and the test submitters usually use higher-powered hardware than what you have.

What you need to do is load test you own app. I recommend using either JMeter or Grinder. Then you will have a good idea of the capabilities of your system. Oh, and be prepared to do some performance tuning.


JBoss In Action
Mandar Khire
Ranch Hand

Joined: Sep 11, 2007
Posts: 492

Thanks Peter Johnson for Apache JMeter & The Grinder. & i know for Java EE app requires higher-powered hardware. But by Apache JMeter & The Grinder i can test my machine performance.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

Hi Mandar, I agree that yours machine is better than a average desktop pc.
But merely having 1 GB of RAM or a 3.2 Ghz processor wont tell the performance
as said by Peter you need some performance tuning.
Like how many applications are currently running, how much memory is being used by them.
The FSB, the RAM speed, the type,amount and speed of the cache,etc are some other factors.


Hope this helps


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How i check this?