India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudOnline gaming (casual multiplayer, non-real-money)Media, Gaming & Entertainment

Casual gaming studio keeps 6 lakh concurrent players online through a regional drain

Mobile game studio with three titles, 2.3 crore installs, peak 6 lakh concurrent players · Google Cloud Mumbai and Delhi · 4 months

Amazon Web Services
01

As-is situation

The studio's backend handled login, player profiles, inventory of cosmetic items, leaderboards and match-making on GKE in Mumbai, with player data in a single Cloud SQL for PostgreSQL instance and Memorystore for leaderboards. DR was a daily export to Delhi. A 40-minute Mumbai networking incident during a Diwali in-game event dropped all sessions; players lost event progress, refund requests for in-app purchases jumped, and the weekly active player count fell 9% the following week. Live-ops wanted events to survive the loss of a region without player-visible disruption beyond a reconnect.

  • Single Cloud SQL instance held profiles and inventory, writing at 14,000 transactions per second at peak
  • Event progress was saved every 10 minutes, so a crash lost up to 10 minutes of play
  • Match-making was stateful in Mumbai pods with no way to resume elsewhere
02

Approach, tools and architecture

NTSPL moved player profiles, event progress and cosmetic inventory to Bigtable with clusters in Mumbai and Delhi and multi-cluster routing, modelling inventory as one row per item grant so concurrent writes never collided. Purchases kept a single-writer Cloud SQL ledger fed asynchronously, with idempotent grant keys from the store receipt. Event progress was checkpointed every 30 seconds. GKE clusters in both regions sat behind a global external Application Load Balancer, with match-making made regional and stateless across sessions so players reconnecting in Delhi joined new matches. Leaderboards were rebuilt per region from Bigtable and merged every minute.

Global external ALB → GKE Mumbai and Delhi → Bigtable two-region clusters (profiles, inventory, progress) → async Pub/Sub → Cloud SQL purchase ledger → per-region Memorystore leaderboards
Cloud Bigtable replicationGoogle Kubernetes EngineGlobal external Application Load BalancerPub/SubCloud SQL for PostgreSQLMemorystore for Redis
03

Implementation approach

Month 1 · Data model reworkProfiles, progress and inventory were remodelled as per-item rows and dual-written to Bigtable alongside Cloud SQL.
Months 2-3 · Delhi stack and match-makingA Delhi GKE cluster was built and match-making was made regional with reconnect support in the client.
Month 4 · Cutover and drainReads switched to Bigtable, Cloud SQL became the purchase ledger only, and Mumbai was drained during a weekend evening event.
04

Measured results

Players disconnected permanently in region loss
All sessions (40-minute incident)→Reconnected in under 20 seconds in drill
Maximum event progress lost
10 minutes→30 seconds
Duplicate cosmetic grants after retries
Possible→Zero (receipt-keyed grants)
Peak write capacity for player data
14,000 TPS on one instance→Spread across two Bigtable clusters with headroom

Operational improvements

  • Live-ops can drain a region before planned maintenance instead of scheduling downtime
  • Leaderboard merges are observable, and the reconciler reports inventory divergence daily
05

Cost considerations

Two Bigtable clusters and a second GKE cluster added about INR 18 lakh a month, roughly 75% above the old single-region backend. Moving profiles off a large Cloud SQL instance saved about INR 4 lakh a month, bringing net uplift to about INR 14 lakh.

06

Return on investment

ROI indicator

A repeat of the Diwali incident had cost an estimated INR 1.3 crore in refunds and lost purchases plus a 9% weekly active player drop. Net annual uplift of about INR 1.7 crore is justified if active-active prevents one such event a year, and live-ops also gained zero-downtime maintenance.

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.