pitrou commented on issue #40036: URL: https://github.com/apache/arrow/issues/40036#issuecomment-1943543372
You should **definitely** buffer small writes in memory. The S3 filesystem [does that](https://github.com/apache/arrow/blob/91bf1c9c170c1917ad47bb0dbb38aa5c9fbbbfb2/cpp/src/arrow/filesystem/s3fs.cc#L1545-L1592). You should also optionally allow async writes, as [in S3](https://github.com/apache/arrow/blob/91bf1c9c170c1917ad47bb0dbb38aa5c9fbbbfb2/cpp/src/arrow/filesystem/s3fs.h#L155-L156), and have `Flush` ensure all writes have finished. -- 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]
