+

Search Tips   |   Advanced Search

Tune ODR persistent connections

Tune the persistent connection settings for ODR performance to minimize the time spent setting up new connections and taking down older connections during a barrage of requests. Primarily, this tuning is relevant to the connections between the ODR and the application servers.

Modify the JVM heap settings.

Adjust the application server's number of persistent requests so that the ODR reuses the connection to the application server for as long as it can. To do this, configure the ODR transport chain to tune inbound connections to the ODR. To tune outbound connections from the ODR, configure the transport chains of the application servers that are members of a dynamic cluster. To do so, configure the transport chain of the dynamic cluster from within the dynamic cluster server template. Changes to the dynamic cluster's server template are automatically applied to all cluster members.

We should set number of persistent requests high enough to avoid having to bring down and recreate a connection during a barrage of requests, so set the value to at least the number of requests in a single barrage of request. The barrage can be a single page with associated data with a long think time, or a series of pages and associated data in short succession. Setting a value higher than the number of requests in a single barrage of request will not negatively affect performance provided the persistent timeout is set appropriately to close idle connections.


Tune the ODR's HTTP_PROXY_ADDRESS and HTTPS_PROXY_ADDRESS transport chains

  1. Click transport_chain_name.

    In the administrative console, click...

      Servers | Server types | On demand routers | odr_name | Ports | Port | View associated transports | HTTP inbound channel

  2. Ensure that Use persistent (keep-alive) connections is checked.

  3. Specify an unlimited number of persistent requests per connection.

    Select Unlimited persistent requests per connection.

  4. Specify a maximum number of persistent requests per connection.

    Select Maximum persistent requests per connection. Setting this value to -1 yields the best performance.

  5. Click Apply and OK to save the changes.


Tune the application servers' HTTP_PROXY_ADDRESS and HTTPS_PROXY_ADDRESS transport chains

In the administrative console, click...

  1. Configure the WCInboundDefault transport chain.

    1. Click WCInboundDefault.

    2. Click HTTP inbound channel.

    3. Ensure that Use persistent (keep-alive) connections is checked.

    4. Specify an unlimited number of persistent requests per connection.

      Select Unlimited persistent requests per connection.

    5. Specify a maximum number of persistent requests per connection.

      Select Maximum persistent requests per connection, and set the value to -1. This allows an infinite number of requests to flow over a single connection. Connections that are not used for an extended period of time are still closed due to the inactivity timeout for the connection.

    6. Click Apply and OK to save the changes.

  2. Configure the WCInboundDefaultSecure transport chain.

    1. Click WCInboundDefaultSecure.

    2. Click HTTP inbound channel.

    3. Ensure that Use persistent (keep-alive) connections is checked.

      • Select Unlimited persistent requests per connection to specify an unlimited number of persistent requests per connection.

      • Select Maximum persistent requests per connection to specify a maximum number of persistent requests per connection.

        Setting this value to -1 yields the best performance.

    4. Click Apply and OK to save the changes.


  • Create and configure ODRs
  • Tune ODR maximum connections
  • Modify the JVM heap size for the on demand router
  • Tune the on demand router (ODR)