CoW B+ Trees are Fun: Building NubSQL
The author details the design and implementation of NubSQL, a minimal transactional database utilizing Copy-On-Write (CoW) B+ trees to achieve cheap snapshots and minimal transaction interaction without a write-ahead log. By avoiding inter-leaf pointers, the database mitigates the heavy write amplification typically associated with CoW trees by restricting page forks to the path from a dirty leaf up to the root. Open article →