bazel icon indicating copy to clipboard operation
bazel copied to clipboard

optimize disk cache io

Open Kila2 opened this issue 10 months ago • 2 comments

Utilize NIO instead of InputStream. For MacOS, NIO copy can employ fcopyfile for non-blocking IO copy to optimize IO performance.

Kila2 avatar Apr 03 '24 03:04 Kila2

@tjgq Have there been any experiments at Google on replacing some of the custom filesystem functions with Java NIO? I recently used Files.move to replace the JavaIoFilesystem.renameTo implementation and wondered whether it would make sense to adopt it more generally.

fmeum avatar Apr 03 '24 05:04 fmeum

Any update here? @Kila2 @fmeum @tjgq

matthewjh avatar Aug 02 '24 09:08 matthewjh