Allow HTTP Connection Pool to be Configurable

Description

The HTTP connection pool in mod-circulation is hardcoded to 100. This value is too low for heavy environments that have to make high number of HTTP requests to mod-circulation-storage and mod-inventory-storage. This can cause a major performance bottleneck for a single instance of mod-circulation.

Expose an environment variable that will set the maximum connection pool size upon startup. Variable name can be HTTP_MAXPOOLSIZE.

Hint for dev:

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

Activity

Show:

Roman Barannyk 3 days ago

tested on snapshot, the connection pool size has been successfully configured:

Roman Barannyk last week
Edited

Prepared a PR and tested on the dev Rancher environment. The connection pool size was successfully overridden using the HTTP_MAXPOOLSIZE variable:

and with invalid value:

Khalilah Gambrell March 18, 2025 at 1:04 PM

Hey , please see 's comments. Please contact him with additional questions.

Olamide Kolawole March 18, 2025 at 12:52 PM

Yes, Ramsons CSP.

Khalilah Gambrell March 14, 2025 at 2:10 PM

Thanks - so this issue should be a Ramsons CSP candidate?

Done

Details

Assignee

Reporter

Priority

Story Points

Development Team

Vega

Fix versions

Release

Ramsons (R2 2024) Service Patch #1

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 6, 2025 at 11:07 PM
Updated 2 days ago
Resolved 3 days ago
TestRail: Cases
TestRail: Runs