bhattmanish98 commented on PR #7967:
URL: https://github.com/apache/hadoop/pull/7967#issuecomment-3432065456

   @steveloughran We’re performing cache refresh when the number of available 
connections in the cache drops below a certain threshold. The warmup normally 
happens during file system initialization, but if the file system is already 
active and making multiple parallel network calls, creating new connections on 
demand with the Apache client tends to take longer.
   
   To avoid delays in such cases, we asynchronously pre-create and cache a few 
additional connections whenever the pool runs low. This ensures that subsequent 
network calls can use already-established connections and spend time on actual 
data processing rather than connection setup.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to