Day 138: Performance Testing
Load · Stress · Endurance · Spike · Capacity
What We’re Building Today
By the end of this lesson you will have a working, production-grade performance testing platform — not a toy, not a demo with mock numbers. Here is what gets built:
A Locust-powered test suite with five distinct test profiles, each answering a different question about your system
A FastAPI backend that orchestrates test runs, polls live metrics every two seconds, computes latency percentiles, evaluates SLO thresholds, and streams everything over WebSocket
A React dashboard — styled after tools like Grafana and k6 Cloud — that shows live RPS charts, P50/P95/P99 latency curves, error rates, and a real-time SLO pass/fail verdict
A SQLite store for run history so you can compare test results across deployments
The full project runs with a single command, with or without Docker.



