Scalability Fundamentals
Explain how a system scales out, size a tier for a target load, and recognize the contention and coordination costs that make scaling sub-linear.
4 objectives 6 steps about 120 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Compare vertical and horizontal scaling and the scale-cube axes (cloning, functional split, data partitioning) for a given bottleneck.
- Size a stateless tier from peak load, per-instance capacity and headroom, using Little's law.
- Make a stateful service horizontally scalable by externalizing session and cache state, and choose an autoscaling signal and limits.
- Explain sub-linear scaling (contention and coherency) and tail-latency amplification under fan-out, and name mitigations.
Lesson plan
6 steps, about 120 min · 5 of 5 lessons available so far
- Scale up, scale out and the three axes of scaling Concept · 20 min
- Sizing a tier: per-instance capacity, headroom and Little's law Worked example · 20 min
- Externalizing state and scaling a service to four instances Lab · 30 min
- Autoscaling signals, limits and warm-up Concept · 15 min
- Why scaling flattens: contention, coherency and the tail Concept · 20 min
- Scalability check Knowledge check · 8 questions
Practise it
Run a service that keeps sessions in memory, move session state to a shared store, scale it from one to four instances behind a load balancer, and fit measured throughput to the Universal Scalability Law to estimate where adding instances stops helping.
References
Hard prerequisites
None.
Unlocks
On these roadmaps
Progress and evidence for this skill are shared across all of them.