Concept 03
APIs and communication
Design the contract between clients and services, then pick how they talk.
12 lessons · 1 note · 3 labs · 2 simulators · 3 design problems · 6 vault drills · 2 free
You need these first
Each topic builds on the ones before it. Read one page from each, then come back.
- Networking and traffic · start with How the Internet Actually Works
Free
27 matching resources
Lesson
- Introduction to APIs (REST & JSON)Lesson
Locked 12 min read - API ContractsLesson
Locked 12 min read - Data Formats: JSON, Protobuf, AvroLesson
Locked 12 min read - IdempotencyLesson
Locked 12 min read - REST, Designed ProperlyLesson
Locked 13 min read - GraphQL and gRPCLesson
Locked 12 min read - API Gateways & Rate LimitingLesson
Locked 13 min read - Authentication & Authorization Deep DiveLesson
Locked 16 min read - Realtime Communication: Polling, SSE, WebSocketsLesson
Locked 15 min read - Design a Real-Time Turn-Based Gaming & Chess Platform (Chess.com / Lichess Style)Lesson
Locked 22 min read - API Gateway and Service DiscoveryLesson
Locked 21 min read - Structured Outputs and Tool CallingLesson
Free 23 min read
Note
- API Contract and Data ModelNote
Locked 20 min read
Lab
- Pagination at Scale: LIMIT/OFFSET vs Keyset CursorLab
Locked Laptop + Docker - GraphQL Under Pressure: N+1 Database Explosion & Query Depth Attack DefenseLab
Locked Laptop + Docker - Real-Time Protocols: WebSockets vs SSE & Reconnect Storm MitigationLab
Locked Laptop + Docker
Simulator
- API Styles, One Food OrderSimulator
Locked 15 min readBrowser, no install - Chat Message Flow, Step by StepSimulator
Locked 12 min readBrowser, no install
Design problem
- Design a Chat App (Real-Time Messaging at Scale)Design problem
Locked 38 min read - Design a Collaborative Document Editor (Merge, Offline, Presence)Design problem
Locked 33 min read - Design a Ride Hailing App (Rider, Driver and Dispatch)Design problem
Locked 48 min read
Vault drill
- Why Does Page 500 Slow Down the Database, and How Do You Fix It?Vault drill
Free 14 min read - Why One GraphQL Query Triggered 300 Database Calls and How to Fix ItVault drill
Locked 14 min read - Why Rendering 2,000 Seats in SVG Freezes the Browser and How Canvas Fixes ItVault drill
Locked 14 min read - How to Stop Deeply Nested GraphQL Queries from Crashing Your BackendVault drill
Locked 15 min read - How to Split a Giant GraphQL Schema into Subgraphs Across 10 TeamsVault drill
Locked 21 min read - Design Real-Time Chat Like WhatsApp for 50M WebSocketsVault drill
Locked 15 min read