← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

Grab Migrates Counter Service to Aerospike, Achieves 50% Lower P99 Latency

🔄 Updated 1h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Grab's Counter Service migrated to Aerospike.
  • P99 read latency reduced by 50%.
  • On-disk data decreased from 3 TB to 1 TB.
  • Cost per node lowered by 45% to 50%.
  • New data model consolidates time buckets into single records.

Storage Backend Migration

Grab has moved the storage backend for its Counter Service from a wide-column database to Aerospike. This migration involved a redesign of the data model and a staged traffic migration process to prevent service downtime. The Counter Service is a critical component of Grab’s anti-fraud platform, processing tens of thousands of queries per second and around one billion requests daily.

Performance and Cost Improvements

The migration resulted in significant performance and cost benefits. Grab reported a roughly 50% reduction in production P99 read latency. On-disk data storage decreased from approximately 3 TB to 1 TB. Additionally, the cost per node was lowered by 45% to 50%.

Staged Migration Process

To ensure a smooth transition, Grab implemented a staged migration. They separated storage access from the service's business logic using a storage facade that supported legacy, Aerospike, and mock implementations. Traffic was gradually shifted, starting with shadow reads at 5%, then increasing to 20%, 50%, and 100%, with parity validated through existing metrics before live traffic was directed to Aerospike.

Data Model Redesign

A key aspect of the migration was a new data model. Instead of storing 15-minute, hourly, and daily counts as separate rows, which was the previous approach, Grab consolidated all buckets for a counter and granularity into a single record containing a timestamp-ordered map. This redesign significantly reduced the record count and contributed to the lower index and disk footprint by addressing Aerospike's primary index metadata overhead per record.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~5 min · 3 stories · Oct 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Grab migrated its Counter Service storage backend from a wide-column database to Aerospike, resulting in a 50% reduction in P99 read latency and a 66% decrease in on-disk data. This change impacts Grab's anti-fraud platform, which handles approximately one billion requests daily, by improving performance and reducing infrastructure costs.