Range lab ยท lessons 7 and 9
The agent platform under load
Design the platform, run it against a traffic spike you cannot argue with, then against a slow tool. Each learner gets a slightly different spike, so the answer cannot be copied, and a receipt records what you ran.
The brief
Illustrative case. Quayside Repairs runs an agent platform: a gateway, an agent tier that works on tasks and a tool tier that talks to a supplier. During a promotion, tasks triple for two minutes. Today the platform turns away about four tasks in ten.
- S1. p95 response time at most 2,500 ms.
- S2. At most 1% of tasks fail or time out.
- S3. Running cost at most 3.00 per hour.
Then a changed condition: the supplier tool slows eightfold for 60 seconds in the middle of the spike. One design must pass both runs, and the second run also limits work spent on tasks nobody is waiting for. Passing it needs a different kind of decision from the first.
Design and run
Hints (optional)
What this lab simulates, and what it cannot prove
The simulator follows individual tasks through three tiers: arrivals at random times, a limited number of task slots per worker, waiting lines, time-outs, retries with growing delays, a circuit breaker and a hand-off to a person. Every number is computed from your seed, so the same design and seed always give the same result and a reviewer can re-run it.
- It does not model real networks, provider limits, correlated outages, token costs or what a model actually does with a hostile input.
- Costs are invented units that make over-provisioning visible. They are not prices.
- A pass is evidence that you reasoned about capacity, waiting and failure. It is not proof that a real platform would survive.
Engine 0.2.0. After you pass both runs, record your changes, what each one cost and what you accepted in lab 9 of your dossier, and download your receipts to keep with it.