Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How i check this?

 
Mandar Khire
Ranch Hand
Posts: 569
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mandar Khire
Ranch Hand
Posts: 569
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic