Skip to content
Tech Intuition
Tech Intuition

Appearance

Theme

Signal · Dark with amber

Background

Slow stars and the odd comet

Connect

19 complete designs · 11.4 h

System design case studies

Each one takes a real product from a vague prompt to a defended design: the numbers, the diagram, the data model, the code that matters, what fails and the follow-up questions interviewers ask.

  • 41 diagrams
  • 139 C# samples, tested
  • 159 interviewer follow-ups
  • 2 interactive stories

19 case studies shown

  • Search and the web16 min

    Design a URL shortener

    A senior-level walkthrough: requirements, estimates, API and data model, the high-level design, low-level ID generation in C#, the redirect path, scale, abuse and the follow-ups interviewers use to push.

    4 diagrams1 C#7 follow-ups

  • Social and messaging37 min

    Design a news feed

    A senior-level walkthrough of a social feed: estimates that expose the fan-out problem, push versus pull versus hybrid with a cost rule, a merge that paginates without repeats, ranking with a fallback, and fan-out lag as a queue.

    3 diagrams10 C#8 follow-ups

    Video
  • Social and messaging33 min

    Design a chat system

    A senior-level walkthrough of a messenger: connections as the unit of capacity, one writer per conversation, idempotent sends and gap repair, receipts as watermarks, group fan-out by size, reconnect storms and storage, with tested C#.

    3 diagrams10 C#8 follow-ups

    Video
  • Search and the web32 min

    Design search autocomplete

    A senior-level walkthrough of typeahead: the numbers behind a request per keystroke, a trie against a sorted array with range top-k, trending queries with decayed counts and heavy hitters, client and edge caching, and abuse, with tested C#.

    2 diagrams7 C#8 follow-ups

    Video
  • Social and messaging54 min

    Design a notification service

    A senior-level walkthrough of a notification platform: duplicates and the ledger, consent and quiet hours, priority lanes, provider failover, digests, and the traffic a campaign sends back to your own API, with tested C#.

    3 diagrams11 C#9 follow-ups

    Video
  • Maps and rides50 min

    Design a proximity service

    A senior-level walkthrough of a nearby-places service: why two indexes fail, geohash cells and the boundary problem, the search cover, quadtrees for uneven density, S2 and H3, serving from memory and caching by cell, with tested C#.

    2 diagrams10 C#10 follow-ups

    Video
  • Maps and rides44 min

    Design a ride-hailing service

    A senior-level walkthrough of a ride-hailing service: a driver index that takes 250,000 reports a second, batched matching, reservations that prevent double booking, road ETAs, surge pricing and failure modes, with tested C#.

    2 diagrams8 C#10 follow-ups

    Video
  • Files and media42 min

    Design a video streaming service

    A senior-level walkthrough of video streaming in the YouTube and Netflix style: resumable uploads, chunked parallel transcoding with backups for stragglers, bitrate ladders and manifests, adaptive players and CDN delivery, with tested C#.

    2 diagrams8 C#10 follow-ups

    Video
  • Money and tickets33 min

    Design a payment system

    A senior-level walkthrough of a payment system: how card payments really flow, tokens and PCI scope, idempotency and the unknown outcome, order-independent webhooks, reconciliation, provider routing and failure modes, with tested C#.

    2 diagrams5 C#10 follow-ups

  • Money and tickets36 min

    Design a ledger and a wallet

    A senior-level walkthrough of a ledger and a digital wallet: double-entry bookkeeping, immutable entries and audits, exact money arithmetic, overdraft races, hot accounts and cross-shard sagas with crash recovery, with tested C#.

    2 diagrams7 C#10 follow-ups

  • Infrastructure34 min

    Design a distributed cache

    A senior-level walkthrough of a Memcached or Redis-style cache cluster: sizing it, a node's memory and expiry, placement that survives adding a node, and what a lost node does to the database, with tested C#.

    1 diagram4 C#7 follow-ups

    Video
  • Money and tickets38 min

    Design a ticket booking system

    A senior-level walkthrough of ticket and seat booking: atomic seat holds, all-or-nothing party holds without deadlocks, choosing the hold time, the on-sale surge and the waiting room, and live availability, with tested C#.

    2 diagrams9 C#10 follow-ups

    Video
  • Search and the web40 minNew

    Design a web crawler

    A senior-level walkthrough of a web crawler: the URL frontier and politeness, robots.txt, URL normalization and the seen set, partitioning by host, duplicates and revisits, traps and failures, with tested C#.

    2 diagrams6 C#8 follow-ups

  • Files and media39 minNew

    Design a collaborative editor

    A senior-level walkthrough of a collaborative editor such as Google Docs: why positions break, operational transformation, a sequence CRDT, a room per document, logs, snapshots, retries and crashes, in tested C# with an interactive story.

    2 diagrams11 C#8 follow-ups

  • Files and media50 minNew

    Design a file sync service

    A senior-level walkthrough of a file sync service such as Dropbox: blocks cut by content, one stored copy of each, a change journal with cursors, conflicts and garbage collection, in tested C# with an interactive story.

    2 diagrams11 C#9 follow-ups

  • Files and media27 min

    Design object storage

    A senior-level walkthrough of an S3-style object store: metadata apart from data, an atomic PUT checked over every crash and interleaving, listing over a flat key space, durability and repair, and tail latency.

    2 diagrams4 C#7 follow-ups

  • Infrastructure32 min

    Design a metrics monitoring system

    A senior-level walkthrough of a metrics and alerting system for a large fleet: sizing from series, zone-aware sharded ingestion with idempotent appends, the query path, histogram error, alert grouping and inhibition, and cardinality.

    1 diagram5 C#6 follow-ups

  • Infrastructure23 min

    Design a performance testing platform

    Design the system that runs benchmarks on every change, tells a real regression from noise, finds the commit and routes it to an owner: tiers, noise control, change-point detection, bisecting, hardware pools and cost, with tested C#.

    2 diagrams4 C#7 follow-ups

  • Infrastructure24 min

    Design a traffic inspection gateway

    Design an inline, firewall-style gateway that inspects traffic at line rate: packet budgets, per-core flow tables with symmetric hashing, fast and slow paths, kernel bypass, TLS cost, overload, and how to benchmark it, with tested C#.

    2 diagrams8 C#7 follow-ups

New to design rounds? Read the interview framework first, then the core concepts the designs are built from.

Send a message

It goes straight to my inbox. I usually reply within a few days.