Get the latest tech news

A write-ahead log is not a universal part of durability


A write-ahead log is not a universal part of durability

Throughout this post, for the sake of code brevity, imagine that the environment is concurrent and that data races around shared mutable values like db are protected somehow. A key insight is that it's silly to serialize the entire permanent structure of the database to disk every time a user writes. Logical replication (also called change data capture (CDC)) is another interesting feature that requires a write-ahead log.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of durability

durability

Photo of ahead

ahead

Photo of log

log

Related news:

News photo

Copy-on-write performance and debugging

News photo

Germany gets informal EU go-ahead to support gas-fired power, sources say

News photo

Doing is normally distributed, learning is log-normal