Case study
Shopify's first flash-sale queue and the shoppers who waited
Shopify's engineers described a checkout that survived a flash sale while some shoppers spent the whole sale waiting for admission.
A deadline for checkout
In a 2017 engineering account, Shopify described flash sales that overwhelmed checkout with writes. Another sale was approaching and a deeper redesign would take longer. The team limited how many shoppers could enter checkout during each short interval. Once an interval filled up, shoppers received a cached waiting page. Their browsers periodically checked for admission.
Who made it through
The next sale ran under load. Shopify then heard from shoppers who had waited as long as 40 minutes, the duration of the sale itself. The waiting page looked like a queue, yet the next opening could go to whichever browser happened to check at the right moment. An early arrival could repeatedly lose out and find that the item had sold out by the time they reached checkout.
A lesson for testing storefronts
Test the promise made by the waiting page. Start a group of shoppers before a release, introduce another group halfway through, and record the arrival and admission times of each shopper. Plot the longest waits for both groups alongside the completed purchases. A total transaction count can show that checkout stayed busy. The timelines reveal whether someone who arrived early had a realistic opportunity to buy.