Specialized Systems
In this module, we move beyond generic web services and tackle systems that require domain-specific data structures and algorithms.
What You Will Learn
- Geospatial Indexing: How Uber and Yelp handle location data using QuadTrees, Geohashing, and Google S2.
- Remote Code Execution: How LeetCode securely runs untrusted user code using Sandboxing and gVisor.
- Financial Transactions: How Payment Systems ensure zero data loss using Double-Entry Ledgers and Idempotency.
- Scheduling & Booking: How Google Calendar detects conflicts using Interval Trees, and how Airbnb manages high-concurrency inventory with Distributed Locking.
Chapters
| Chapter | Title | Key Concepts |
|---|---|---|
| 01 | Design Uber (Geospatial Indexing) | QuadTrees, Geohashing, S2, Hilbert Curves. |
| 02 | Design LeetCode (RCE) | Sandboxing, gVisor, Firecracker, Seccomp. |
| 03 | Design a Payment System | Idempotency, Ledgers, ACID, Double-Entry. |
| 04 | Design Google Calendar | Interval Trees, RRULE, Conflict Detection. |
| 05 | Trading Order System | RFQ, Token Bucket, Redis Atomicity. |
| 06 | Airbnb / Hotel Reservation System [NEW] | Inventory Locking, Double-Booking Prevention, CDC. |
These systems often come up in senior-level interviews because they test your ability to adapt standard patterns to specific constraints.
Module Chapters
Design Uber / Yelp (Geospatial Index)
Design Uber / Yelp (Geospatial Index)
Start LearningDesign LeetCode (Remote Code Execution)
Design LeetCode (Remote Code Execution)
Start LearningDesign Payment System Architecture
Design Payment System Architecture
Start LearningDesign Google Calendar (Scheduling)
[!IMPORTANT] In this lesson, you will master: 1. What is a Scheduling System?: Building intuition behind 1. what is a scheduling system?. 2. Requirements &...
Start LearningDeep Dive: Trading Order System (RFQ)
Deep Dive: Trading Order System (RFQ)
Start LearningDesign Airbnb (Hotel Reservation System)
Design Airbnb (Hotel Reservation System)
Start LearningReview & Cheat Sheet
Review & Cheat Sheet [!IMPORTANT] In this lesson, you will review: Key Concepts Flashcards: Test your knowledge of QuadTrees, S2, gVisor, Idempotency, and Interval Trees....
Start Learning