Performance Antipatterns
Diagnose why a system is slow from load tests and telemetry, name the antipattern behind the symptom and fix the structure instead of adding hardware.
3 objectives 5 steps about 110 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
- Recognize data-access antipatterns (chatty I/O, extraneous fetching, busy database, monolithic persistence, no caching) from traces and query metrics, and choose a structural fix for each.
- Recognize compute and traffic antipatterns (synchronous I/O, improper instantiation, busy front end, noisy neighbor, retry storm) and fix them with non-blocking calls, shared clients and pools, offloading to workers, resource isolation and retry budgets.
- Locate the bottleneck tier with a load test and distributed traces, then verify a fix with before-and-after latency percentiles, throughput and saturation.
Lesson plan
5 steps, about 110 min · 4 of 4 lessons available so far
- From symptom to cause: a method for slow systems Concept · 15 min
- Data-access antipatterns: chatty, over-fetching, busy and uncached Concept · 25 min
- Compute and traffic antipatterns: blocking, per-request clients, noisy neighbors, retry storms Concept · 25 min
- Fixing a slow endpoint under load, one antipattern at a time Lab · 30 min
- Antipattern diagnosis check Knowledge check · 6 questions
Practise it
Load-test a deliberately slow sample service (N+1 queries, a new HTTP client per request, a synchronous call to a slow dependency and no caching), use traces and database metrics to name each antipattern, fix at least two, and report p50/p99 latency, throughput and database load before and after.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.