What should we do?
Based on the discussion in this PR we should investigate whether we can make use of request based http configuration by leveraging Apache HTTP Clients feature of HttpRequestBase based classes.
Why should we do it?
This would allow to separate the request configuration from the Client configuration and to use and re-use a single Http Client for all outgoing Http requests instead of creating one per request. This could unlock connection handling performance limitations as we as the ability to cache certain data or re-use connections to the same server (only applies to SM as we are bound to the CloudFunction on SaaS)
Additional context
SUPPORT-31940
What should we do?
Based on the discussion in this PR we should investigate whether we can make use of request based http configuration by leveraging Apache HTTP Clients feature of HttpRequestBase based classes.
Why should we do it?
This would allow to separate the request configuration from the Client configuration and to use and re-use a single Http Client for all outgoing Http requests instead of creating one per request. This could unlock connection handling performance limitations as we as the ability to cache certain data or re-use connections to the same server (only applies to SM as we are bound to the CloudFunction on SaaS)
Additional context
SUPPORT-31940