uCosminexus Service Platform, Overview

[Contents][Glossary][Index][Back][Next]

2.14.7 Communication using connection continuity (Keep-Alive)

You can continue using a connection used once by specifying Keep-Alive in Connection header and you can reduce connection continuation cost from next time onwards.

Set whether to use Keep-Alive connection in JavaVM system properties. If the server side setting is performed for not using Keep-Alive, even if you communicate in Keep-Alive connection from HTTP adapter, HTTP response Connection header from the server closes and the connection does not continue.

The following figure shows an overview of connection continuation using Keep-Alive:

Figure 2-92 Overview of Keep-Alive connection

[Figure]

The following figure shows the properties required to be set while using Keep-Alive connection:

Table 2-44 System properties required for Keep-Alive connection

Property name Specification contents
http.keepAlive Specify whether to enable Keep-Alive connection by true or false. Default is true.
http.maxConnections Specify by int type the maximum number of connections of each connection destination maintained in the specific time. Default is 5.

For JavaVM system property settings, see JavaVM documents.

Settings related to Keep-Alive connection are enabled in the entire server and not in HTTP adapter units, since they are set in system properties.