A ticket sale is the opposite of normal traffic. Nothing happens for weeks, then 190,000 people arrive in the same ten seconds. You cannot buy enough servers to get out of that, and you shouldn't try. You make people wait, and you make the waiting fair.
A queue is a product
Most waiting rooms are a spinner and a prayer. Ours tells you your place, how fast the line is moving and when to come back. People who can see the line stay in it. In the old system 41 percent refreshed the page and lost their spot. This time under 3 percent did.
Decide the order once
Everyone who arrives before the sale opens gets a random place. After that it is first come, first served. Bots gain nothing by being early, and fans don't need to sit with a finger on the button at 09:59.
You can't make 190,000 people fast. You can make them calm.
Rehearse the bad night
We ran the sale four times against a copy of the live system, with simulated crowds twice the expected size, and we switched off a payment provider in the middle of one run. The real morning was dull. That is the goal.
60,000 tickets went in nine minutes. Support got 212 messages, most of them about parking.
Rafael Couto is Principal Engineer in Rio de Janeiro. Case study: Pulse Nights
