nickva opened a new pull request, #4750: URL: https://github.com/apache/couchdb/pull/4750
Technically, this shouldn't violate safety as an fsync will still flush out the data synchronously. We used to have some versions of these previously done at the couch_file or couch_db_updater level. There was an 8KB read-ahead and a delayed commit option. These ones are a bit simpler and easier as they are using OTP provided functionality. Locally on MacOS I haven't see a huge perf difference (with fabric_bench) but perhaps this might help in case with a remote block devices where write IO calls are throttled or somehow behave better if they are in larger blocks. -- 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]
