Module 01 Review & Cheat Sheet
Module Mastery Overview
You’ve completed the “Introduction and Mindset” module. This module wasn’t just about definitions; it was about internalizing the Philosophy of Scale.
- Scale Cube: X (Cloning), Y (Decomposition), Z (Partitioning).
- PACELC: Consistency or Latency? You have to choose.
- Estimation: Order of Magnitude math > Exact numbers.
- PEDALS: The 45-minute roadmap to success.
Interactive: Module 01 Flashcards
Test your recall. Click a card to reveal the “Senior Engineer” answer.
Module Cheat Sheet
1. The Scaling Hierarchy
| strategy | axis | goal |
|---|---|---|
| Cloning | X | Handle traffic volume (Load Balancing). |
| Microservices | Y | Handle code complexity (Decomposition). |
| Sharding | Z | Handle data volume (Partitioning). |
2. Trade-off Cheat Sheet
- PACELC: If Partitioning, choose Availability or Consistency. Else, choose Latency or Consistency.
- SLO vs SLA: SLO is your Goal (Internal). SLA is your Contract (Legal).
- Latency Order: Cache (ns) < RAM (ns) < SSD (μs) < Disk (ms) < Network (ms).
3. Magic Math Rules
- QPS:
1M/day ≈ 12 QPS.100M/day ≈ 1200 QPS. - Storage:
Avg Size × QPS × Seconds × Retention. - Memory: If your “Hot Dataset” (20% of total) fits in RAM, your system is 100× faster.
- Powers of 2: 210 (KB), 220 (MB), 230 (GB), 240 (TB).
4. PEDALS Framework Checkpoints
- P: Ask clarifying questions.
- E: Do back-of-envelope math.
- D: Draw high-level boxes.
- A: Define SQL/NoSQL and Schema.
- L: Add Cache, Queue, CDN.
- S: Solve for sharding and failure.
Next Steps: Module 02
You have the mindset. Now you need the Plumbing. In Module 02: Network Fundamentals, we will dive into:
- OSI Model: How bits actually travel.
- TCP vs UDP: Why your streaming app uses different tech than your banking app.
- HTTP/1.1 vs HTTP/2 vs gRPC: The language of services.
[!TIP] Pro-Tip: Don’t move to Module 02 until you can explain the PACELC Theorem to a 5-year-old. It is the most important trade-off in distributed systems.