Catalogue / zomato-2024-billing-tidb-to-dynamodb

Zomato moved its billing platform's ledgers from self-managed TiDB to a single DynamoDB table

Zomato. Billing Platform.

Organisation
Zomato
Evidence
Reported from production
Source
Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB

Zomato Blog, published 2024-01-11

Records

Decision#d1

Replace a self-managed TiDB cluster with DynamoDB for the billing ledgers

Decision#d2

Collapse per-vertical relational tables into one DynamoDB table using the adjacency list pattern

Decision#d3

Build the partition key from merchant, payout cycle and vertical, and suffix the GSI key with a division number

Decision#d4

Migrate in phases with dual writes, replication, data sync and failover, aiming for zero downtime

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.