Get the latest tech news

Disks Lie: Building a WAL that actually survives


A write-ahead log (WAL) is one of those database concepts that sounds deceptively simple. You write a record to disk before applying it to your in-memory state. If you crash, you replay the log and recover. Done. Except your disk is lying to you. PostgreSQL, SQLite, RocksDB, Cassandra... every production

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of disk

disk

Related news:

News photo

Helldivers 2 on-disk size 85% reduction

News photo

Sharge's Disk Pro external SSD is unlike anything I've used yet

News photo

io_uring is faster than mmap