Skip to content

Reusing Apache http client with Pooling Connection Manager

In existing OSDU code when using UrlFetchServiceImpl.java an HttpClient is build for each request. Here is the code reference where the client is built for every request. Using the same http client with pooling http connection manager will reduce overhead of creating connections for each request. More details about pooling connection manager can be found here

There is some discussion happened about this in ADR

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information