Ops Development Stories
Jul 1, 2021 · Databases
Understanding Database Write-Ahead Logs (WAL) and Their Implementation in etcd
This article explains common database logging mechanisms such as MySQL redo logs and binlogs, compares them with Redis AOF and etcd's Raft‑based WAL, and provides an in‑depth analysis of etcd's WAL source code, including key structures, creation process, record types, encoding, and file pipeline management.
GoRaftWAL
0 likes · 18 min read