Design Twitter / News Feed — A System Design Walkthrough

End-to-end system design for a Twitter / News Feed service. Functional + non-functional requirements, capacity, schema, fanout-on-write vs fanout-on-read, hybrid for celebrities, ranking, caching, and what interviewers love.

April 29, 2026 · 8 min · 1530 words · Manvendra Rajpoot

Design a Rate Limiter — Algorithms, Distributed Implementation, and the Tradeoffs

How to design a distributed rate limiter end-to-end. The four classic algorithms, when to pick each, a Redis Lua implementation, distributed coordination, and the gotchas (clock skew, hot keys, fairness).

April 28, 2026 · 7 min · 1462 words · Manvendra Rajpoot

Design a URL Shortener — A Complete System Design Walkthrough

End-to-end system design for a URL shortener — requirements, capacity estimation, ID generation (counter, hash, base62), schema, caching, analytics, abuse prevention, and the parts most write-ups skip.

April 28, 2026 · 7 min · 1328 words · Manvendra Rajpoot

Distributed Systems Fundamentals — The Mental Model Every Backend Engineer Needs

A backend engineer’s working mental model for distributed systems. Failure modes, CAP, replication, partitioning, consistency, time and ordering, idempotency — explained without the textbook.

April 28, 2026 · 7 min · 1287 words · Manvendra Rajpoot