← Business use cases
Streaming platformE-commerce · US7 min read

Instacart: ten years of growth in six weeks without redoing the architecture

How the streaming platform absorbed half a million new customers in weeks and kept inventory accurate across 59,000 locations.

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.

Sourcewww.confluent.io/customers/instacart/ ↗Public case documented by Confluent. Summary and reading by Intelium.
Want to apply this in your context?Talk to the CoE →
More use cases
Event-driven pipelinesDelivery · Brazil

iFood: from batch pipelines to 60 million real-time orders a month

How iFood decoupled 2,000 microservices, left MSK and started tracking deliveries and orders per second with Confluent Cloud.

Read use case
Streaming platformPayments · Brazil

Stone: from a patchwork of systems to one event platform for 1,500 developers

How Stone’s platform team standardized card, PIX and virtual-payment streaming on Confluent Cloud.

Read use case
Real-time analyticsRetail · global

Walmart: real-time inventory and replenishment on 500 million events a day

How the world’s largest retailer replaced batch inventory and replenishment with streaming so stores never run out.

Read use case