CSE Roadmap

Level 11 of 13 · about 3 weeks

Case studies II: products at scale

Seven products that combine the core components: a news feed, chat, search autocomplete, video streaming, file sync, nearby places and booking.

Modules

Core: everyone needs it. Common: most jobs use it. Specialist: optional depth, safe to skip on a first read.

  1. 1

    Design a news feed

    Publishing a post, building each reader's feed, and the push or pull choice

    Core 8 parts · about 4 hours

  2. 2

    Design a chat system

    Persistent connections, message flow, ordering, sync across devices and online status

    Core 8 parts · about 5 hours

  3. 3

    Design search autocomplete

    A trie with cached top results, built offline, served from memory and sharded by prefix

    Core 8 parts · about 4 hours

  4. 4

    Design video streaming

    Upload, transcode into many formats, and stream from a CDN while keeping cost down

    Core 8 parts · about 5 hours

  5. 5

    Design file storage and sync

    Blocks, delta sync, metadata, notifications and conflicts in a cloud drive

    Core 8 parts · about 5 hours

  6. 6

    Design nearby places

    Finding places within a radius with geohash and quadtree indexes

    Core 8 parts · about 4 hours

  7. 7

    Design a booking system

    Reserving rooms without double booking, using idempotency, locks and an inventory cache

    Core 8 parts · about 5 hours