pdeva opened a new issue, #649:
URL: https://github.com/apache/arrow-rs-object-store/issues/649

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   requests to S3 Express require creating and refreshing a 'Session Token' 
every 5 minutes.
   This `CreateSession` API calls takes > 300ms to complete.
   
   Currently `CreateSession` is implictly called by object-store lib whenever a 
request is made and the token is out of date. This however greatly increases 
the latency of the request itself.
   For example, if you were doing a GET request that you expected to complete 
in single digit miliseconds, due to the `CreateSession` call being bundled with 
it, you now get a response time of  >300 ms.
   
   
   **Describe the solution you'd like**
   Session Tokens should be refreshed in the background, instead of 
synchronously as part of request to S3 Express. Current implementation can 
cause massive p99 increases by bundling the `CreateSession` call with any 
PUT/GET call that is expected to take single digit ms.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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]

Reply via email to