System Design
Core system design concepts and case studies
- 01 Client-Server Architecture Build a real HTTP server that handles JSON API requests with proper routing, parsing, and error handling. beginner 15 min →
- 02 REST API Design Design and build a complete REST API with proper HTTP semantics, validation, pagination, and filtering. beginner 20 min →
- 03 Database Fundamentals Connect to PostgreSQL, design schemas, write safe queries with prepared statements, and manage connection pools. beginner 20 min →
- 04 Caching Basics Integrate Redis for cache-aside pattern, TTL management, and cache invalidation strategies. beginner 15 min →
- 05 Load Balancing Build a reverse proxy with round-robin distribution, health checks, and sticky sessions. intermediate 20 min →
- 06 Message Queues Build producers and consumers with RabbitMQ/NATS including acknowledgments, retries, and dead letter queues. intermediate 20 min →
- 07 Rate Limiting Implement token bucket and sliding window rate limiters with Redis for production API protection. intermediate 15 min →
- 08 Database Sharding & Replication Implement read replicas, consistent hashing for sharding, and shard-aware query routing. intermediate 20 min →
- 09 Distributed Consensus Implement simplified Raft leader election with term management, vote requests, and heartbeats. advanced 25 min →
- 10 Event Sourcing & CQRS Build an event store with projections, command handlers, and event replay for an e-commerce order system. advanced 25 min →
- 11 Observability & Service Mesh Implement distributed tracing with OpenTelemetry, Prometheus metrics, and structured logging with correlation IDs. advanced 20 min →
- 12 Case Study: URL Shortener at Scale Design and build a production URL shortener with base62 encoding, Snowflake IDs, caching, rate limiting, and analytics. advanced 25 min →
- 13 Authentication & Authorization Implement JWT-based auth, refresh tokens, RBAC middleware, and secure password hashing from scratch. beginner 20 min →
- 14 API Gateway Build a gateway that handles routing, authentication, rate limiting, and request aggregation in one layer. intermediate 18 min →
- 15 CDN & Edge Caching Implement edge caching with cache headers, signed URLs for private content, and cache purging strategies. intermediate 15 min →
- 16 WebSockets & Real-time Build a real-time chat server with WebSocket connections, rooms, presence tracking, and message history. intermediate 20 min →
- 17 Microservices Patterns Implement the saga pattern, circuit breakers, service discovery, and distributed transactions. advanced 25 min →
- 18 Case Study: Chat System at Scale Design and build a production chat system with message delivery, read receipts, typing indicators, and fan-out. advanced 25 min →
- 19 Case Study: Notification System at Scale Design and build a production notification system with multi-channel delivery, fan-out, priority queues, rate limiting, and user preferences. advanced 30 min →
- 20 Case Study: Payment System Design and build a production payment processing system with idempotency, double-entry ledger, reconciliation, and webhook delivery. advanced 35 min →
- 21 Case Study: Social Media News Feed Design and build a production news feed with fan-out, ranking, infinite scroll pagination, and real-time updates. advanced 32 min →
- 22 Tutorial: Build a Real-Time Analytics Dashboard Step-by-step guide to building a real-time dashboard with event ingestion, time-series aggregation, WebSocket streaming, and live counters. intermediate 28 min →
- 23 Tutorial: Build a File Upload Service Step-by-step guide to building a production file upload service with chunked uploads, resumable transfers, virus scanning, and CDN integration. intermediate 26 min →
- 24 Case Study: Video Transcoding Service Design and build a production video transcoding pipeline with VOD processing, adaptive bitrate encoding, job scheduling, and distributed workers. advanced 34 min →
- 25 Case Study: Live Streaming Platform Design and build a production live streaming system with RTMP ingest, real-time transcoding, HLS delivery, chat integration, and viewer scaling. advanced 36 min →
- 26 Case Study: Webinar & Video Conferencing Platform Design and build a production webinar system with multi-party video, screen sharing, Q&A, polls, breakout rooms, and recording. advanced 33 min →