2023 · distributed systems

Kafka from scratch (YaK)

We rebuilt a Kafka-like pub-sub system because using Kafka would have skipped the part we were trying to learn.

SIDP'S WORKSHOPPUB · SUB · REPLICATEOPEN
why this existed

The project was about the machinery under the abstraction: brokers, replication, leader state, failure, and the command-line clients around it.

BUILD TICKET / 2023

What I actually built

  • Three replicated Flask brokers
  • Leader election and broker coordination
  • Publisher and subscriber command-line clients
  • Threaded message handling in Python

Python · Flask · threading · replication · leader election

result

A small working system that made distributed messaging failure modes much less abstract.

The whole point of this portfolio is the path between projects, not isolated cards.

keep going back in time →