Derive the M/M/1 queue from detailed balance
ProofIntermediate⏱ 1 hourAI Systemsbirth-deathdetailed balancegeometricutilisation
Problem
Consider an M/M/1 queue with arrival rate and service rate , .
- Write the balance equations for the birth–death chain and solve for the stationary distribution, stating where is needed.
- Compute and deduce via Little's law.
- Show that the stationary waiting time in system is exponential with rate , and hence that its -quantile is .
- Evaluate the ratio p99/mean and comment on what it says about tail budgeting.
Write a complete argument. Every inequality you use should be one you could state precisely.
Hints
Hints — 0 of 2 revealed
Solution
Opening this before you have a real attempt on paper is the fastest way to feel like you understand something you cannot reproduce.
Related problems
All problems| Solved | Problem | Field | Type | Difficulty | Time |
|---|---|---|---|---|---|
| Price a latency target | AI Systems | Numerical | 30 min | ||
| Simulate M/M/1 and verify the utilisation wall run | AI Systems | Coding | 1 hour | ||
| Size a serving cluster and find the binding constraint | AI Systems | Numerical | 1 hour | ||
| Derive the Pollaczek–Khinchine formula via mean residual work | AI Systems | Proof | 3 hours | ||
| The cost of waiting for the slowest sequence | LLM Ops | Proof | 1 hour |