On bench marking the scalability of a Java server grade application
We are building a Java web application which consists of multiple Timers, Threads and database accesses. This application is intended to run on a 24/7 basis on a Server .We are trying to bench mark our application on 2 aspects:
1) Find the maximum number of Timers & Threads supported by the application, and the maximum uptime without restart
2) Find the maximum hardware or hardware requirements such as RAM size, CPU for which the application would run 24/7
For 1), we are already running the application in a test mode with different loads and running on a 24/7 basis.
For 2), is there any standard way of determining the hardware requirements?
Currently we are looking at the maximum memory used( Total - Free memory of java Runtime class) over a 60-120 hr period.
Any suggestions are welcome.
Thanks in advance,