Distributed Log at the Heart of Modern Architectures
Event Sourcing was coined around 2004 by Greg Young and Martin Fowler , while Durable Execution is somewhat a new kid in the block - first used around 2022 by Maxim Fateev, although the concept itself is a bit older and known by different names (workflow orchestration, reliable execution, etc.). Older than either, and quietly holding up much of the infrastructure we lean on every day, are Consensus Protocols, for which we owe Leslie Lamport a lot - most famously Paxos, conceived in the late 1980s and published in 1998. While marketed to different audiences and used to solve different kinds of problems, all three employ the same underlying mechanism: a Distributed Log. In this article, we dive into the details of the Distributed Log and how it empowers Consensus, Event Sourcing, and Durable Execution. Append-Only Log - what is it? A log is perhaps the simplest data structure there is: an ordered, append-only sequence of records. You add to the end, and you read from wherever you like...