Question
DEFAULT_MAX_HOST_CONNECTIONS
Hello,
Sorry for my English,
In code of com.pega.apache class this default configuration we find :
public static final int DEFAULT_MAX_HOST_CONNECTIONS = 2
with this explanation :
Clients that use persistent connections SHOULD limit the number of
simultaneous connections that they maintain to a given server. A
single-user client SHOULD NOT maintain more than 2 connections with
any server or proxy. A proxy SHOULD use up to 2*N connections to
another server or proxy, where N is the number of simultaneously
active users. These guidelines are intended to improve HTTP response
times and avoid congestion.
<<A single-user client SHOULD NOT maintain more than 2 connections with any server or proxy.>>
A single-user client correspond that an jboss application server instance, and in MACIF context we have approximatively 150-200 end user requestors per jboss application server instance
So these 2 connections are not enought for our application, one jboss instance can use 2 connections max, or we have 200 users per jboss instances.
So we encounter some contention, blocking.
How we can update this configuration to increase this.
The configuration you mentioned is specific to connect-soap integration (soap connector), not directly related to concurrent end users (unless each user action generates connect-soap call). There are DSS controlling these - default values may be different pending on the version of your PRPC:
a. Total connections
int maxTotalConnections = 1000;
String maxConnectionsString = tools.getSystemSettings()
.getDynamic("Pega-IntegrationEngine",
"Axis2_Max_Connections");
}
b. Total connection per host
//Total number of connections to single host in the ConnectionPoolManager.
int maxHostConnections = 100;
String maxHostConnectionString = tools
.getSystemSettings().getDynamic(
"Pega-IntegrationEngine",
"Axis2_Max_HostConnections");