Blog
Real systems built end to end, with the code and the benchmarks. Plus notes on how system design rounds actually run at Indian product companies, with sources.
Build logs
Source code on GitHub for every post
· 12 min read
Building a RAG ingestion pipeline in Python - and checking whether its retries actually retry
A RAG ingestion pipeline in Python: FastAPI, a Redis reliable queue, Qdrant and deterministic chunk IDs - what holds up, and five fixes before production.
- rag
- python
- redis
- qdrant
· 11 min read
Matching riders to drivers with H3 hexagons, Redis sets and one Lua script
A ride-hailing dispatch core in Go: H3 hexagon cells in Redis, k-ring search and an atomic Lua claim, with measured latency and five fixes before production.
- uber
- h3
- geospatial index
- golang
· 11 min read
Auditing a transactional outbox in Python: where exactly-once holds and where it leaks
A Python payment state machine with a transactional outbox, row locks and Kafka, checked line by line against its exactly-once claim - plus five fixes.
- transactional outbox
- python
- postgresql
- kafka
· 12 min read
Building Stripe-style idempotency keys in Go with Redis and PostgreSQL
Stripe-style idempotency keys as Go middleware: request fingerprints, a Redis Lua lock, pub/sub for duplicates, a Postgres audit log, and four ways it double charges.
- idempotency
- golang
- redis
- postgresql
· 12 min read
Building a distributed rate limiter in Rust, and the cache that lets 2.7× the limit through
A distributed rate limiter in Rust: five algorithms as atomic Redis Lua scripts, gRPC, a circuit breaker and a local cache - with benchmarks and four fixes.
- rate limiter
- rust
- redis
- lua
· 12 min read
Building Netflix-style seek previews: one sprite sheet, one WebVTT file
A video thumbnail service in Python: streamed uploads, a SHA-256 content cache, Celery, FFmpeg and WebVTT sprite maps, with benchmarks and five fixes.
- video thumbnails
- sprite sheet
- webvtt
- ffmpeg
· 8 min read
Building a URL shortener in Go that serves 28,000 redirects per second
A production-style URL shortener in Go: two-tier cache, Bloom filter, singleflight and Snowflake IDs, with real benchmarks and the three things to change.
- url shortener
- golang
- redis
- postgresql
Interview prep
· 3 min read
DSA vs system design: what actually moves your package in India
Is DSA enough for a product company? What SDE-1, SDE-2 and SDE-3 rounds test in India, what each level pays, and how to prepare system design in 2-3 months.
· 5 min read
How to prepare for a system design interview in 30 days (India)
A 30-day system design prep plan for backend engineers in India: estimation, building blocks, five full designs, LLD and mock rounds, with real round lengths.
· 6 min read
LLD interview questions for SDE-2 in India
The SDE-2 machine coding and LLD round in India: format, timing, what's graded, the most reported problems (parking lot, LRU cache, rate limiter, Splitwise) and practice.
· 8 min read
How to answer any system design question in 45 minutes: a step-by-step framework
A step-by-step system design interview framework for a 45-minute round: clarify, estimate, API, data model, high-level design, deep dive. Worked on a URL shortener.
· 4 min read
HLD vs LLD vs machine coding: what is the difference in an interview?
HLD, LLD and machine coding are three different rounds. How long each runs at Indian companies, what is graded, and how to prepare for each, with sources.
· 5 min read
What system design questions do Indian product startups ask?
Reported system design and LLD questions from Razorpay, Dream11, Paytm, Zepto, Nykaa, ShareChat, Freshworks and others, with sources and the themes they share.
· 7 min read
Common system design interview mistakes, and what interviewers note instead
The system design interview mistakes that Hello Interview, interviewing.io, Meta and Amazon say they see, grouped by cause, with what to do instead and sources.
· 6 min read
Moving from a service company to a product company: the system design gap
Preparing for product-company interviews from a services background in India: what the system design round expects, where gaps usually show, and how to close them.