India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSE-commerce (home goods and furnishing marketplace)Retail, E-commerce & Consumer

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

Amazon Web Services
01

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
02

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.

Route 53 cell routing + ARC drain → EKS in Mumbai and Hyderabad → DynamoDB global tables (carts, orders) → streams → Aurora settlement single writer → reconciler
Amazon DynamoDB global tablesAmazon EKSApplication Recovery ControllerAmazon Route 53Amazon Aurora PostgreSQLAmazon DynamoDB Streams
03

Implementation approach

Month 1 · Classification and idempotencyThirty-one entities were classified and idempotency keys added to checkout, payment initiation and returns APIs.
Months 2-3 · Data and regional independenceOrders moved to global tables with async settlement, and the pricing dependency was regionalised.
Month 4 · Traffic splitTraffic moved from 100/0 to 50/50 over three weeks with daily reconciliation reports.
Month 5 · Evacuation drillMumbai was drained at 12:30 on a weekday and held for two hours while customers kept ordering.
04

Measured results

Customer impact of losing Mumbai
11-minute failover→Drain in 70 seconds, no failover needed
Checkout error rate during region event
100% for 23 minutes (sale incident)→0.2% during 2-hour drain
Duplicate orders after retries
Not prevented→Zero in drill and first sale
Synchronous cross-region dependencies
7→0

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
05

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.

06

Return on investment

ROI indicator

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.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.