Appendix C.5 Tuning parameters for optimizing the operations of the Web application (methods other than the recommended procedures)

This subsection describes the locations to set up the tuning parameters used for optimizing the operations of the Web application.

Organization of this subsection
(1) Tuning parameters for separating the deployment of static contents and Web application
(2) Tuning parameters for caching static contents
(3) Tuning parameters for distributing the requests using a redirector

(1) Tuning parameters for separating the deployment of static contents and Web application

Specify the separation of the deployment of static contents and Web application as parameter of the file that defines the operations of the Web server. The setup locations, files and parameters differ according to the type of the Web server used.

The following table describes the methods and locations of setup for each type of Web server:

Table C-16 Tuning parameters for separating the deployment of static contents and Web application (methods other than the recommended procedures)

Web server usedType of Web serverMethod of setupLocation of setup
Web server integration
(separation using the redirector module)
Cosminexus HTTP ServerEdit fileMapping definition of mod_jk.conf (JkMount parameter)
Microsoft IISEdit fileuriworkermap.properties
In-process HTTP server
(separation using the reverse proxy module)
Cosminexus HTTP ServerManagement portalProxyPass directive of "Additional directives" of "Perform setup for each item" in "Web Server Setup" window.
ProxyPass directive of "Setup file details" of "Directly set the details of setup file" in "Web Server Setup" window.
Edit fileProxyPass directive# of httpsd.conf
#
For details about httpsd.conf, see the uCosminexus Application Server HTTP Server User Guide.

(2) Tuning parameters for caching static contents

The tuning parameters for caching static contents are explained in this subsection. You set up these tuning parameters for each Web container or Web application.

The following table describes the methods and locations to set up the tuning parameters specified in each Web container:

Table C-17 Tuning parameters for caching static contents (items to be set up for each Web container) (methods other than the recommended procedures)

Setup itemsMethod of setupLocation of setup
Select whether static contents cache is to be usedEdit filewebserver.static_content.cache.enabled key in usrconf.properties
Setup of maximum memory size for each Web applicationEdit filewebserver.static_content.cache.size key in usrconf.properties
Setup of maximum file size of the static contents for cacheEdit filewebserver.static_content.cache.filesize.threshold key in usrconf.properties

The setup of the tuning parameters for each Web application is the same as that specified in the recommended procedures.

(3) Tuning parameters for distributing the requests using a redirector

Specify the tuning parameters for distributing the requests using a redirector as parameters of the file that defines the operations of the Web server. The location of setup, files, and parameters differ according to the type of the Web server used.

You can define these tuning parameters only for Web server integration. You cannot define these tuning parameters if you are using an in-process HTTP server.

The following table describes the methods and locations of setup for each Web server:

Table C-18 Tuning parameters for distributing the requests using a redirector (methods other than the recommended procedures)

Type of Web serverMethod of setupLocation of setup
Cosminexus HTTP ServerEdit fileMapping definition of mod_jk.conf (JkMount parameter)
Microsoft IISEdit fileuriworkermap.properties