-
Book Overview & Buying
-
Table Of Contents
JBoss AS 5 Performance Tuning
In this chapter, we have learnt how to configure optimally the embedded JBoss Web server, which is behind the scenes of the well-known Tomcat Web server.
The default JBoss Web server configuration is fit for a Web application with little or medium traffic. In order to carry high loads the Web configuration needs to be appropriately tuned.
The MaxThreads parameter of server.xml is the most important parameter as it determines the maximum number of concurrent connections allowed. A good rule of thumb is setting it at about 25% more of the currentBusyThreads property of your Web server Thread Pool.
The minimum number of threads always kept alive are controlled by the MinSpareThreads attribute.
By setting an appropriate value of maxIdleTime, you can reduce the number of threads used by your applications at idle time.
Setting the correct number of threads to be used greatly influences the performance of your application. Too few threads will require costly threads creation (low MinSpareThreads...
Change the font size
Change margin width
Change background colour