rust

MQTT Client From Scratch: Building a Stateful Runtime, Not Just a Codec

12 minute read Published: 2026-03-27
A deep dive into building an MQTT v3.1.1 client in Rust, covering runtime architecture, protocol state, reconnect handling, and multi-client fanout.

MapReduce in Rust: A Hands-On Guide to Building Distributed Systems from Scratch

9 minute read Published: 2025-02-15
Hands-on MapReduce implementation in Rust, covering RPC, gRPC migration, task scheduling, and how to make a resilient distributed system.

Aryavarth: Distributed Key Value Store Part 2

5 minute read Published: 2025-02-10
Continues Aryavarth with the networking layer, lock-free concurrency, and the transition from a single-process library to a distributed service.

Aryavarth: Distributed Key Value Store Part 1

8 minute read Published: 2025-02-05
Practical reverse-engineering of the log-structured storage engine that became KVS1, covering append-only logs, in-memory indexes, and compaction.

brrrc: Processing One Billion Rows in 3.29 Seconds

8 minute read Published: 2025-01-23
Chronicling the progressive optimization of the One Billion Row Challenge in Rust—memory mapping, SIMD, and system-level tuning that cut 13+GB inputs down to ~3.3 seconds.