Erlang B and Loss Systems
The Erlang B formula answers a simple staffing question — with N lines or servers and random call arrivals, what fraction of arriving traffic gets blocked because every server is busy?
Prerequisites: The Poisson Process
Imagine a call centre with a fixed number of phone lines and no queue at all — if every line is busy when a new call arrives, that call is simply lost, not held. The question a staffing manager needs answered is: given how busy the lines typically are, what fraction of incoming calls get blocked this way? That is exactly what the Erlang B formula computes, and it is the founding result of queueing theory, dating back to a 1917 telephone-exchange paper.
The formula takes two inputs: the offered traffic , measured in erlangs (average number of simultaneous calls that would occur with no blocking — call arrival rate times average call duration), and the number of lines . It assumes calls arrive as a Poisson process and last a random amount of time with any distribution, then gives the blocking probability
which is the probability, in the long run, that an arriving call finds all lines occupied. A trading-relevant reading of the same object: any system that "loses" excess demand rather than queueing it — a fixed pool of market-making capital, a limited number of execution algo slots — faces the identical blocking-probability question, with the number of slots and the average simultaneous demand for them.
With erlangs of offered traffic and lines, plugging into the formula gives — about one call in twenty-four is blocked, even though the average load is comfortably below the line count, because Poisson arrivals bunch unevenly.
Erlang B converts offered load and a hard capacity limit into a blocking probability for any system where excess demand is simply turned away rather than queued.
Practice in interviews
Further reading
- Erlang, Solution of Some Problems in the Theory of Probabilities of Significance in Automatic Telephone Exchanges (1917)