Get the latest tech news

Removing fsync from our local storage engine


How we used pre-allocation, O_DIRECT, and an SSD-aware journal to keep our local storage engine's writes crash-consistent without fsync.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of fsync

fsync

Photo of local storage engine

local storage engine

Related news:

News photo

SQLite (with WAL) doesn't do `fsync` on each commit under default settings

News photo

The Secret Life of Fsync (2023)