bazel-remote icon indicating copy to clipboard operation
bazel-remote copied to clipboard

Don't Sync() on every upload

Open buchgr opened this issue 6 years ago • 0 comments

We found that on some hardware this absolutely kills the performance of the system e.g. a Mac Pro became completely unresponsive. In general, there is no need for calling Sync() on every write as in the worst case it's ok to lose data. We should only ensure that on loading the entries from disk that there is data integrity.

buchgr avatar Jan 12 '19 13:01 buchgr