<aside>

This section is part of the 5-hour System Design course by Mukul Raina

SLIDE 24: Section Intro, High-Level Architecture

Section 4: High-Level Architecture

image.png

Every system design interview moves from requirements to architecture. This is where you translate the constraints from Sections 2 and 3 into components, connections, and communication patterns. The architecture you draw here becomes the map for every deep-dive section that follows.

This section covers the full ride-sharing architecture: 45 components across 8 clusters, built layer by layer from clients to data stores. The numbers from Section 3 (1.25M GPS updates/sec, 5M concurrent WebSocket connections, 250 ride requests/sec) directly determine which components exist and how they connect.

What We’ll Cover:

  1. How to draw a system architecture top-down in an interview
  2. Client applications: Rider, Driver, and Admin
  3. Entry layer: Load Balancer, API Gateway, WebSocket Gateway
  4. Auth Service and Rate Limiter
  5. Core services: four groups (User Management, Ride Engine, Business Logic, Real-Time)
  6. WebSocket architecture for real-time driver location streaming
  7. Synchronous vs asynchronous communication patterns
  8. Kafka event bus and message queue placement
  9. Service decomposition principles
  10. Complete architecture diagram with all connections

Interview Pacing:

This section maps to minutes 6-14 of a 45-minute interview. You have approximately 8 minutes to draw and explain the core architecture. Start from clients, build layer by layer, and explain as you draw. Do not draw all 45 boxes. Focus on the entry layer, the four service groups, and the primary data stores. Fill in details only when the interviewer asks you to go deeper.