Get Free Shipping on orders over $49
From Zero to Distributed Systems : Build a Fault-Tolerant Key-Value Store in Go, One Failure at a Time - Zero to the Zeroth

From Zero to Distributed Systems

Build a Fault-Tolerant Key-Value Store in Go, One Failure at a Time

By: Zero to the Zeroth

eBook | 12 November 2026

At a Glance

eBook


$14.99

or 4 interest-free payments of $3.75 with

Instant Digital Delivery to your Kobo Reader App

An architecture diagram can make a difficult guarantee look simple. The difficulty returns when a message times out, a process restarts, or two replicas accept different updates. To understand the guarantee, it helps to implement it, give its responses a precise meaning, and arrange a failure that challenges that meaning.

From Zero to Distributed Systems does this with MiniKV, a small key-value store written in Go. It begins with a map, a write-ahead log, and an HTTP interface. Most chapters then introduce a failure the current version cannot handle and develops the missing mechanism: replication, logical clocks, sharding, failure detection, Raft consensus, distributed transactions, fencing tokens, and CRDTs. Later chapters follow data through batch and stream processing, study Spanner, DynamoDB, Kafka, and CockroachDB, and connect the pieces in a final build that checks recorded histories under selected failures.

MiniKV is a learning system with stated omissions, and the book says what its tests do and do not establish. Complete chapter snapshots and numbered files accompany the text, and the explanations stand on their own when you cannot run every program.

For programmers who have used APIs and data stores but have not studied distributed systems. An appendix supplies the Go needed for the examples.

Every book in the From Zero series is written for readers with no background: intuition and analogies first, math and detail only when they are needed, so a whole field becomes a path you can walk on your own.

on

More in Computer Architecture & Logic Design