Projects

Things I built to understand distributed systems and AI engineering at depth.

Raftly

A laboratory for the unhappy path

Production-quality Raft consensus algorithm implementation in Go. Built not just to work, but to fail — in reproducible ways that mirror real production incidents. Covers leader election, log replication, durability, fast log backtracking, and network partition recovery.

GoDistributed SystemsRaftConsensusChaos Engineering

Distributed RAG System

Retrieval-augmented generation from first principles

A distributed RAG system built from the ground up — ingestion pipeline, hybrid retrieval (dense + sparse), re-ranking, generation layer, caching, and evaluation. Companion to an 8-part series on the architecture decisions behind each layer.

PythonLLMsRAGVector SearchAI EngineeringDistributed Systems