The Apache HTTP Client lib that this participant depends on, has a low number of concurrent connections (5 in the current version). This limits the concurrency of HttpQuery, especially when talking to slow remote endpoints and may badly impact the performance of transaction processing under higher loads.
This PR increases the default to 25, and allows the value to be configured in with the maxConnections property.
This value can be overridden by a Java System Property that may be passed to the java process like:
java -Dhttp.maxConnections=xxx
...and supporting
maxConnections
propertyThe Apache HTTP Client lib that this participant depends on, has a low number of concurrent connections (5 in the current version). This limits the concurrency of
HttpQuery
, especially when talking to slow remote endpoints and may badly impact the performance of transaction processing under higher loads.This PR increases the default to 25, and allows the value to be configured in with the
maxConnections
property.This value can be overridden by a Java System Property that may be passed to the java process like:
java -Dhttp.maxConnections=xxx