scalability-capacity-testing
Installation
SKILL.md
Scalability & Capacity Testing
Goal: answer "How much can it take, what breaks first, and how do we scale?" — with numbers.
Test types
| Test | Load shape | Question |
|---|---|---|
| Baseline/Load | expected peak, steady | SLO met at normal peak? |
| Stress / Breakpoint | ramp until SLO breaks / errors | Where is the limit & failure mode? |
| Spike | 10× jump in seconds | Autoscale/queues/caches cope? recover? |
| Soak / Endurance | 70% load for 4–24 h | Leaks, drift, log/disk growth (memory-leak-resource-testing) |
| Scalability | step 1×,2×,4× resources | Linear? Where diminishing returns? |
| Capacity | peak × growth × headroom | How many nodes/DB size for next year? |
Workload model (garbage in, garbage out)
Use production analytics: request mix by endpoint, think-time, session length, data-size distribution, peak RPS/concurrency, geographic spread, cache-hit ratios. Little's Law: concurrent users = arrival rate × avg session time; concurrency in service = RPS × latency. Use open model (arrival rate) for public traffic; closed model (fixed users) for internal systems.