My goal is to gain high TPS with avg. response time below 25ms and low CPU Utilization.
My client is a normal HttpClient written in Java.
Using Thread Pool Executor I manged my client side threads.
Peter ,
I didn't worked with Rajesh. The issue you mentioned also looks similar to mine.
But here you mentioned by increasing the threads the more load on CPU.
what I had found from my testing is there is 1-2 % increase when I increase almost 10 threads from the client.
But the CPU is largely depend on the maxThreads of the http connector configuration in server.xml under deploy/jbossweb.sar directory.
I had calculated the time taken to complete 1 Query.
It's in the range of 5-15ms
So What I can see that the max CPU is Utilized in Handling connections.
So I want to optimize this connections handling so that to reduce CPU with high TPS.
Thanks,
Amol