Browse through all our published articles and discover knowledge across various topics
504 Articles
System Design › High-Level Design
High-level design of an e-commerce platform (Amazon/Flipkart): decompose into catalog, search, cart, inventory, order and payment services; optimise the read-heavy browse path with CDN, caching and a search index; and solve the overselling problem with reserve-before-charge, idempotent payments and a Saga.
System Design › High-Level Design
High-level design of a real-time leaderboard: a Redis sorted set giving O(log n) score updates, top-K and exact-rank queries, backed by a durable DB, with time-scoped boards, sharding by score range and approximate rank to scale to tens of millions of players.
System Design › High-Level Design
High-level design of a distributed job scheduler (cron-as-a-service): jobs indexed by nextRunTime, a leader scheduler that enqueues due jobs, stateless workers, and the reliability story — leader election, at-least-once + idempotency, visibility timeouts, retries and sharding.
System Design › High-Level Design
High-level design of an ad-click aggregator: ingest millions of click events into Kafka, aggregate over event-time windows in a stream processor, serve rolled-up counts from a fast OLAP store, and reconcile with a nightly batch for billing-grade accuracy.
System Design › High-Level Design
High-level design of Google Maps: pre-rendered map tiles served from a CDN, the road network as a weighted graph with precomputed shortcuts for routing, and live traffic/ETA built from aggregated user location pings via a streaming pipeline.
System Design › High-Level Design
High-level design of Instagram: photos in blob storage behind a CDN, lightweight metadata and follow graph in a database, feeds via fan-out on write with a hybrid pull path for celebrities, plus async like/comment counters.
System Design › Fundamentals
A 6-week System Design study plan that sequences every topic — foundations, data, distributed systems, HLD case studies, LLD and patterns, then mock interviews — into a day-by-day path from zero to interview-ready.
System Design › Low-Level Design
All 16 must-know design patterns on one page, grouped into Creational, Structural and Behavioural families — each with a one-line what-it-does and when-to-use, linking to the full Java deep-dive.
System Design › Fundamentals
A one-page System Design cheat sheet: the 6-step interview framework, latency numbers to memorise, the scaling toolkit, and the key SQL-vs-NoSQL / CAP / REST-vs-gRPC decision rules — each linking to the full deep-dive.
System Design › Low-Level Design
Low-level design of a food delivery app (Swiggy/Zomato style): Customer, Restaurant, Menu, Order and DeliveryPartner, with an order-lifecycle State machine, Strategy partner-matching and pricing, and Observer status updates.
System Design › Low-Level Design
Low-level design of a meeting scheduler: Users and Rooms with Calendars of Intervals, strict interval-overlap for conflict detection, merge-intervals to find a common free slot, plus atomic booking and recurring/timezone concerns.
System Design › Low-Level Design
Low-level design of Snake and Ladder: model snakes and ladders as a single Jump map (start to end), a parameterised Dice, players with positions, and a Game loop over a player queue with clean edge-case handling.