Back to articles

DoorDash Cuts Grocery Reorder Time from 16 Seconds to 2

3 min read

DoorDash reduced the response time of its grocery reorder flow from about 16 seconds to 2 seconds. The main change was not to make each model call faster, but to move recurring-purchase analysis out of the live request path. The company now prepares reusable shopping lists in advance and resolves them against the current product catalog when a customer opens a list. DoorDash reports that list views doubled and reorder conversion increased by about 34%.

Separating history analysis from live shopping

The system processes 90 days of purchase history along with customer-profile signals. Batch large language model inference identifies items that may be bought on a recurring basis. Those generated results are checked through deterministic validation before being stored for reuse. As a result, each reorder request does not need to analyze the customer’s entire purchase history again.

The live serving path handles a different task: finding the relevant items in the current catalog. It first tries the original store’s product, then a catalog product identifier, and finally a search term. This helps the system cope with changing listings and unavailable items. The prepared list is therefore a useful starting point, not a guarantee that every item remains available.

A list that both people and agents can edit

Ask DoorDash treats the shopping list as a structured artifact that both the customer and the agent can update. If a customer changes a quantity or removes an item, the system can update the list directly without another LLM round trip. A request for a cheaper alternative is more involved: it may require reasoning about current prices, promotions, package sizes, inventory, and customer preferences, so the grocery agent is still used. Customer edits take precedence over earlier conversation, and subsequent agent actions start from the edited list.

The experience builds on DoorDash’s shared agent platform. It supplies common capabilities such as orchestration, memory management, model access, tracing, evaluation infrastructure, and release controls. Domain teams retain ownership of their agents’ instructions, tools, skills, and evaluation criteria. DoorDash also says it added its Reservations agent in one week, roughly 10 times faster than building its initial domain agent.

The broader lesson: use inference where it matters

The design illustrates that lowering latency in an agent product does not necessarily require a more complex model or more real-time reasoning. Moving stable, reusable analysis earlier can reduce work during a request, while live catalog resolution preserves up-to-date product matching. Direct updates also avoid invoking an agent for routine list edits.

This approach does not eliminate model reasoning. Prepared results still need to be matched against a live catalog, and complex substitution requests still require additional inference. Instead, DoorDash has drawn a boundary between offline preparation and online decisions. For agent applications that combine recurring preferences with changing inventory or product data, that separation offers a practical engineering pattern.

InfoQ 中文

Comments

Checking sign-in status...

Loading comments...

Related articles