Writing
Notes on systems I have shipped and on designs I wanted to understand. The lab runs the interactive versions in the browser. RSS.
What I Shipped in an ERC-4337 Bundler
Relayer management, transaction lifecycle, and operational tooling I added to Biconomy's open-source ERC-4337 bundler.
Nov 2026 · 5 min read · ERC-4337, Backend, Web3
AI Agents Are Just Loops (and That's Why They're Hard)
What an AI agent really is, how tool calling works, why small error rates compound, and the patterns that make agents reliable enough to ship.
Nov 2026 · 10 min read · AI, Agents, System Design
How LLM Inference Actually Works
Why generating text is memory-bound, what the KV cache is, and how batching, PagedAttention, quantization, and speculative decoding cut cost.
Nov 2026 · 9 min read · AI, Inference, System Design
RAG Explained: How Retrieval-Augmented Generation Really Works
How retrieval-augmented generation works: chunking, embeddings, hybrid search, reranking, and how to tell whether retrieval or generation is failing.
Oct 2026 · 10 min read · AI, RAG, System Design
Beyond URL Hashing: Deduplication That Actually Works at Scale
How Pinterest's MIQPS learns which URL query parameters change page content, so deduplication works when different URLs show the same page.
May 2026 · 8 min read · System Design, Backend, Pinterest
How Airbnb Stores 50 Million Metrics Per Second
A deep dive into the time series databases, ingestion pipelines, and compression behind Airbnb's 2.5 petabytes of metrics at 50 million samples per second.
Apr 2026 · 15 min read · System Design, Observability, Backend