Field noteNov 24, 20266 min read1 source

How a shared merchant data service can degrade gracefully

In one minute

Grab describes redesigning its shared merchant data service after cache-read timeouts drove more traffic to the database and prolonged recovery. Its approach combines request prioritization, bounded fallback work, isolated connection pools and scoped runtime controls—a practical blueprint for teams that need a dependency failure to remain contained rather than cascade.

What changed: Grab details how a cache disruption amplified database load and reduced availability in its Merchant Data Service, and outlines design changes to contain the failure.

What happened

Grab’s merchant data service (MDS) is a shared, read-heavy service used by client applications for merchant information such as whether an outlet is open, whether it accepts manual orders, and its settings. The database is the source of truth, while a cache-aside design lets the cache serve most reads; the database normally handles cache misses. The announcement says cache reads began timing out during a disruption. Fallback requests then increased database pressure, connection pressure and errors, while callers saw more failures and service availability declined. Retries added further load to an already constrained path.

The redesign treats the incident as an overload and prioritization problem, not simply a cache problem. MDS assigns request classes using authentication rather than trusting labels supplied by callers. P0 covers interactive reads with direct user impact, such as the consumer app’s API; P1 covers routine production reads; and P2 covers background, batch and unclassified work that can wait. A client without an explicit policy defaults to P2. Promotion requires a reviewed policy change rather than a code change, and downstream controls use the same class to make consistent decisions.

At the cache-fallback boundary, an admission controller requires each query to acquire capacity from a shared token budget before reaching the database. If capacity is unavailable, the service rejects the request promptly instead of adding it to a queue for a saturated database. Separate budgets protect distinct database workloads, and the overall budget is coordinated across service instances through runtime configuration. Query costs reflect expected work and priority. Grab’s examples show illustrative—not production—costs: a point lookup has base cost 1, with totals of 1 for P0, 2 for P1 and 3 for P2; an indexed find or range seek has base cost 3, with totals of 3, 4 and 5. Under contention, lower-priority, more expensive queries consume their share faster. The weighted budget improves higher-impact requests’ chances but does not reserve capacity; interactive requests may also be rejected if their demand exceeds the shared limit.

When a cache read fails because of a dependency error, rather than an ordinary miss or invalid data, P2 requests are rejected before reaching the database limiter. Separate cache connection pools reduce the chance that slow background reads exhaust connections needed by interactive traffic. Circuit breakers are also separated by request class, so lower-priority failures do not automatically block interactive work, though a shared dependency failure can still affect every class. Centrally managed runtime rules let responders throttle a client-and-endpoint pair, a request class at an endpoint, or a whole class. Rules can be applied gradually by percentage; throttled requests receive a standard unavailable response, while health checks remain exempt. These controls can be adjusted without a code deployment.

What the archive adds

New Runtime's earlier coverage on agent scale and governed execution discussed semantic consistency, lineage and reusable data products in McKinsey’s architecture. That is adjacent to Grab’s shared-data setting, but not the same event or a new fact about it. This case opens a separate thread about containing overload in a shared service; the connection is contextual, not evidence that the systems or designs are related.

Trend signal

This does not yet fit a pattern New Runtime tracks. Grab’s account is a specific service-resilience redesign, not evidence by itself of a broader shift in agent runtimes, protocols or AI product boundaries.

Why now

The timing is explained by the failure the team experienced: a cache disruption exposed how fallback traffic, retries and shared capacity could amplify a localized fault. The redesign addresses those failure paths by placing limits and prioritization at service boundaries, while giving responders controls they can adjust during an incident.

Why it matters

The useful lesson is that graceful degradation depends on deciding which work may proceed when a dependency is unhealthy. Treating every cache failure as an ordinary miss can transfer a local problem to the database, and retries can intensify that transfer. Explicit request classes give teams a way to preserve scarce capacity for user-facing work while shedding work that can wait.

The design also makes trade-offs visible. A weighted shared budget favors higher-impact requests without guaranteeing them capacity, and separate pools reduce interference without making the database failure-proof. Runtime throttles provide an operational lever when automatic controls are insufficient, but they depend on useful scopes and correct policies. Teams can adapt the architecture by classifying callers, bounding fallback work, isolating contention and rehearsing scoped throttles—then checking whether those controls actually preserve the paths users need.

Limits and uncertainty

Grab describes its own service and design, but the account does not establish measured outcomes such as availability improvement, recovery time, rejected-request rates or database load reduction. The example token costs are explicitly illustrative, and production values are runtime-configured; the account does not supply the deployed budget settings. Weighted admission can still reject interactive traffic when its demand exceeds the shared limit. Bulkheads cannot preserve service when the database itself is unavailable, and separate circuit breakers do not isolate a failure in a dependency shared by all classes. The described approach is therefore an engineering case, not an independently tested guarantee for other systems.

Skill to build now

This week, map one read path that falls back from a cache or other dependency to a database. Define a small number of request classes using authenticated caller identity, and default unknown callers to the least critical class until a reviewed policy promotes them. Put a bounded admission check directly before the fallback dependency; reject promptly when the budget is exhausted instead of queuing work behind saturation. If background operations can hold connections for longer, isolate their connection pool. Finally, test a scoped runtime throttle—starting with one client and endpoint—before relying on broader incident controls.

Reader takeaway

A fallback is not a safety net if it can send unlimited work into a dependency that is already struggling. Grab’s case makes the safer contract explicit: classify callers, budget fallback work, isolate contention and give responders scoped controls. The goal is not to keep every request alive; it is to contain the failure and preserve the work that matters most.

Open question

What production outcomes did Grab observe after deploying these controls, particularly for interactive availability and recovery time?

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1engineering.grab.com/shared-merchant-data-service
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicInfrastructureExplore the infrastructure topic hub.
  2. 02archiveField NotesOpen the latest editorial analysis.
  3. 03sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract