Context
Instacart is the largest online grocery platform in the United States. It connects consumers to personal shoppers who buy at more than 59,000 retail locations across hundreds of retail chains, with delivery in hours. The model depends on a piece of information that changes every minute: what is available in each store right now.
In 2020, with the pandemic, demand for online grocery exploded. Instacart gained half a million new customers in a few weeks, a volume that under normal conditions would have taken years to reach.
The problem
Data pipelines had to absorb the equivalent of ten years of growth in about six weeks. And handling the volume was not enough: each store’s inventory had to stay accurate, because an item shown as available and not found by the shopper means a substitution, a delay and a frustrated customer at a moment when they most needed the service.
Redoing the architecture at that moment was out of the question. There was no time to redesign systems while demand was doubling.
The solution
Instacart relied on Confluent’s data streaming platform to scale its pipelines without redesigning the architecture. The managed platform’s elastic capacity absorbed the volume jump, and inventory and order data began flowing in real time between the systems that needed them: catalog, per-store availability, shopper routing and the customer experience in the app.
With managed streaming infrastructure, engineering teams could focus their effort on the applications customers see rather than on cluster operations during the most intense peak in the company’s history.
Results
Accurate inventory across the 59,000 retail locations during the peak, so customers received what they ordered when they needed it. A data platform that kept pace with ten years of growth in six weeks without interruption. Confluent highlights the case as a reference for scale under pressure and for keeping data in motion during unprecedented growth.
What this means for your team
Unpredictable peaks are routine in Brazilian retail and services: Black Friday, promotional dates, campaigns, events. Sizing infrastructure for the peak all year is expensive and still does not guarantee it survives the real peak. The answer is an elastic platform and well-designed partitioning that scales consumers when volume rises.
In our Confluent Cloud sizings we model exactly that: average volume, the expected peak and the peak nobody expects. The Instacart case is the argument for not trimming the margin on the third.