Show TOC

Connection PoolingLocate this document in the navigation structure

Use

Normally, connection pooling in the SAP Web dispatcher can only be used for keep-alive connections from the browser.

If the browser does open a new network connection to the Web dispatcher, the Web dispatcher also opens a new network connection to the backend system.

In high workload scenarios, in particular with (re-)encryption, system performance can be improved by using connection pooling in the Web Dispatcher for new client connections too.

Parameterization

To activate connection pooling for new browser connections, set the profile parameter wdisp/HTTP/use_pool_for_new_conn=1 in the SAP Web dispatcher profile.

Configure the keep-alive timeout of the back end system (ICM parameter, described below) to a greater value than the keep-alive timeout of the Web dispatcher: the difference should be at least 20 seconds.

Note

This configuration of the keep-alive timeout values is necessary to ensure that the back end server never closes a keep-alive connection while the Web dispatcher is sending data.

Example

For example, you can set the following keep-alive timeout values:

  • In the Web Dispatcher Profile: icm/server_port_0 = PROT=HTTP,PORT=...,TIMEOUT=30,PROCTIMEOUT=...

  • In the back end (application server), set the following in the ICM profile: icm/server_port_0 = PROT=HTTP,PORT=...,TIMEOUT=30,PROCTIMEOUT=...