Removing fsync from our local storage engine

(fractalbits.com)

11 points | by zzsheng 2 days ago ago

3 comments

  • zzsheng 2 days ago ago

    Author here. This is not a general argument against fsync; the design depends on SSD-only deployment, preallocated files, O_DIRECT, single-key atomicity, and device write guarantees.

  • alexhnn 2 days ago ago

    Working with files is hard [1], and most of the complicity is from the fsync API. I am glad it can be eliminated from a kv storage engine.

    [1] https://news.ycombinator.com/item?id=42805425

  • dboreham 17 minutes ago ago

    Almost full-circle back to when Oracle took over the entire volume and implemented its own filesystem.