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

   Recently, OpenDAL has transitioned its I/O traits to a `Buffer`-based 
approach, which is optimized for both contiguous and non-contiguous bytes 
input. Additionally, the new `Buffer` facilitates vectored I/O and is io_uring 
compatible, enhancing prospects for future development.
   
   However, some code paths convert `Buffer` back into `Bytes`, resulting in 
additional allocations, unnecessary copying, and increased memory usage, 
thereby negating all the advantages of using `Buffer`.
   
   This tracking issue addresses all `Buffer`-related issues. Please comment if 
you identify any other cases that might cause regression.
   
   All tasks are easy and good-first-issues, please jump in for details.
   
   ## Tasks
   
   - [ ] Use `Buffer` as cache in `RangeWrite`
   - [ ] Use `Buffer` as cache in `BlockWrite`
   - [ ] Use `Buffer` as cache in `MultipartWrite`
   - [ ] Use `Buffer` as cache in `OneshotWrite`


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