Why it matters
WAL is durability foundation. Understanding shapes reliable storage.
Advertisement
The architecture
Client: change.
Log: append + fsync.
Apply: after log durable.
Advertisement
How it works end to end
fsync: forces to durable media before ack.
Checkpointing: periodic save of state to reduce replay.
Replication: stream WAL to replicas.
Compaction: prune old log entries.