India’s Leading Domain & Web Hosting Provider
Home-goods marketplace drains Mumbai at noon and keeps checkout error rate at 0.2%
Online marketplace with 4,800 sellers, 1.1 crore monthly users, microservices on Amazon EKS · AWS Mumbai (ap-south-1) and Hyderabad (ap-south-2) · 5 months
As-is situation
The marketplace ran 46 microservices on EKS in Mumbai across three zones, with Aurora PostgreSQL for orders, DynamoDB for carts and sessions, and ElastiCache for catalogue reads. A warm standby in Hyderabad had a measured 11-minute RTO. During the previous year's anniversary sale, an upstream DNS misconfiguration in Mumbai caused 23 minutes of checkout errors while the team debated failing over; GMV loss was estimated at INR 2.4 crore and app-store ratings dropped for a week. Leadership asked for a design in which losing Mumbai meant slower pages, not lost orders.
- Orders in single-primary Aurora could not accept writes in Hyderabad without failover
- Checkout retried on timeout without idempotency, risking duplicate orders on a region switch
- Seven services made synchronous calls to a Mumbai-only pricing service
Approach, tools and architecture
NTSPL classified 31 entities. Carts, sessions, wishlists and recently viewed items moved to DynamoDB global tables, with each cart line as its own item. Orders were reworked to write to a DynamoDB global table keyed by order ID with an idempotency key from the app, then streamed asynchronously to Aurora for finance and seller settlement, which stayed single-writer. The pricing service was deployed in both regions reading replicated price lists. Users were assigned to eight cells with a home region; Route 53 routed by cell, and Application Recovery Controller routing controls provided a one-action drain. Releases rolled Hyderabad first, then Mumbai after a 45-minute bake.
Implementation approach
Measured results
Operational improvements
- Mumbai and Hyderabad each carry live traffic, so neither region is an untested standby
- Staggered releases caught two bad deployments in Hyderabad before they reached Mumbai
Cost considerations
Running both regions at around 55% peak utilisation and replicating DynamoDB writes raised infrastructure cost by about 68% over single-region, roughly INR 31 lakh a month extra. Retiring the separate warm standby offset INR 9 lakh of that.
Return on investment
The net uplift of about INR 2.6 crore a year compares with an estimated INR 2.4 crore lost in a single 23-minute sale incident. Two sales events a year with any regional issue would make the investment clearly positive, before counting ratings and seller confidence.