How can I set the number of concurrent connections in Java Web Server 2.0?

JIA Java Italian Association

I don't have Java Web Server installed, but I've downloaded the manual and I've got the answer to all your question. Maybe you can do the same for future reference (aka: RTFM):

Administration Tool: Service Tuning
The Service Tuning page enables you to set or adjust properties that affect service performance

[...]
Handler Threads
These settings affect the performance of threads within the service. Minimum: Sets the minimum number of threads the service maintains in its handler pool to service incoming requests. Because thread creation adds overhead to the service's response time, set this property to a non-zero value. The default is 10 threads.
Maximum: Sets the maximum number of threads the service maintains in its handler pool to service incoming requests. The default is 50 threads.
Timeout: Sets the expiration timeout for an idle handler thread. The default is 300 seconds.
On another page of the same manual, I've also found this note regarding Threads and explaining how they affect performance and concurrency connection:
Tuning server performance
Threads
One thread is required per connection. Adding threads consumes more memory, but can yield better response time for your clients on a server that concurrently serves multiple connections that are either high latency or involve access to some high-latency resource (like a servlet accessing a database on the other side of the country).
You see how useful a manual is?
Regards.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.