we are currently load testing our application, a java rest services webapp. At first glance the performance was poor, but we have no comparison point.
The environment : - ubuntu 12.04 server on Amazon micro EC2 instance - tomcat 7, maxThreads=500, Xmx=450m - java 6, installed by default.
The webapp / service : A simpled webapp with on service called "getVersion". It return a string "1" - there is no processing (db, file etc.) - just return "1".
The test : We load tested it with multimechanize : 100 concurrent users for 60 seconds. We had effectively 76 requests per second.
The result : between 0,X and 5 seconds to respond. 5 seconds appearing once every 10 requests approximatively.
We thought Tomcat would handle easily this ammount of concurrent requests. Is this normal ? Is there anything to tune besides memory, maxThreads ?