B.2 Tuning parameters for optimizing the operations of the Web application (methods other than the recommended procedures)
This appendix 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
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:
Web server used |
Type of Web server |
Method of setup |
Location of setup |
---|---|---|---|
Web server integration (separation using the redirector module) |
Cosminexus HTTP Server |
Edit file |
Mapping definition of mod_jk.conf (JkMount parameter) |
Microsoft IIS |
Edit file |
uriworkermap.properties |
|
In-process HTTP server (separation using the reverse proxy module) |
Cosminexus HTTP Server |
Management portal |
ProxyPass 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 file |
ProxyPass 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 appendix. 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:
Setup items |
Method of setup |
Location of setup |
---|---|---|
Select whether static contents cache is to be used |
Edit file |
webserver.static_content.cache.enabled key in usrconf.properties |
Setup of maximum memory size for each Web application |
Edit file |
webserver.static_content.cache.size key in usrconf.properties |
Setup of maximum file size of the static contents for cache |
Edit file |
webserver.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:
Type of Web server |
Method of setup |
Location of setup |
---|---|---|
Cosminexus HTTP Server |
Edit file |
Mapping definition of mod_jk.conf (JkMount parameter) |
Microsoft IIS |
Edit file |
uriworkermap.properties |