TLDR Tech / Data
Migrating Counter Service storage: Design choices and learnings
Grab migrated its high-QPS fraud Counter Service from a wide-column database to Aerospike NoSQL database with zero downtime using storage facades, shadow reads/writes, deterministic traffic splitting, and config-driven rollback. The team replaced row-per-bucket storage with per-counter ordered maps, cutting record cardinality and disk usage. Both production p99 read latency and per-node costs improved by ~50%.
Read the full story