Demo: predicting pool sizes with Little's Law, then measuring
On This Lesson 3 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
predict, test, and explain the gap; prepares SRC-005-LAB1.
Draft outline details
Step by step
- Write the checkout budget and the expected load at 10×.
- Compute required HTTP threads, DB connections, and Kafka consumers with Little's Law.
- Run a load test (verify tool and setup before recording) and compare predicted with measured concurrency.
- Planned mistake: use the average latency from a quiet run. Fix: use p95 latency under load; the model then matches within 20%.
- Explain any remaining gap (retries, lock waits, GC).
- Record the model and the measured error in the capacity plan.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.