dentiny opened a new issue, #7168:
URL: https://github.com/apache/opendal/issues/7168

   ### Feature Description
   
   Hi team, I notice we have timeout for all operations via timeout layer: 
https://opendal.apache.org/docs/rust/opendal/layers/struct.TimeoutLayer.html
   
   I would like to know whether you experts think it makes sense to provide 
per-operation timeout feature?
   For example, 
   - `list` operation usually does range query, and should be expectedly taking 
more time than point query `stat` call
   - `read` request could potentially be served with 
[cache](https://docs.cloud.google.com/storage/docs/caching) and don't go 
through any data persistent layer, while it's non-avoidable for write operations
   
   For now, I do have workarounds to use multiple operators for different type 
of operations, I'm just wondering if you think the per-operation timeout makes 
sense, or if it's already supported somehow?
   
   ### Problem and Solution
   
   One potential way is to provide a config which contains different timeouts 
for each operations to override global `timeout` and `io_timeout`.
   
   ### Additional Context
   
   _No response_
   
   ### Are you willing to contribute to the development of this feature?
   
   - [ ] Yes, I am willing to contribute to the development of this feature.


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