Index

Module 01 · Portfolio ProjectsBuild It Yourself

S5 · Build a Message Log (Kafka-style)

S1 - Build Your Own Database
S1 - Build Your Own Database · Open board

S1’s file that only ever grows, with records added at the end and never edited. This project keeps that file and changes who reads it: many readers, each remembering how far down the file it has got.

Before you start. You’ve built S1, so an append-only log, a length in front of each record, and replay on startup are already yours. This project points that same log at a different job: carrying messages from the programs that write them to any number of programs that read them. The slow build of the same thing, one lesson per wall, is the From Scratch Kafka series starting at Build Your Own Kafka - From Scratch; this page turns it into one repo and does not repeat its detail. Enough Go is an optional first read.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review Portfolio Projects →

Saved in this browser, and to your account when you sign in.