Domain • Hosting • Cloud • Email • SecurityCloud Consultation • 24×7 Support
AWSOnline gaming (casual and esports mobile games, non-real-money)Media, Gaming & Entertainment

Mobile gaming studio handles 6x tournament match-making spikes on EKS with Spot nodes

Indie-to-mid-size game studio, about 140 employees, 45 lakh monthly active players · India and Southeast Asia · 8 weeks

01

As-is situation

The game backend, covering login, player profiles, inventory, leaderboards and a custom match-making service, ran on ECS on EC2 with a fixed fleet of 20 instances and a match-making service that held queues in memory on a single task. Weekly tournaments started at 8 pm, and concurrent players jumped from about 60,000 to 3.6 lakh within ten minutes. Match-making times rose from 8 seconds to over 90, the single queue task crashed twice, dropping all waiting players, and app-store reviews mentioning lag spiked after each tournament.

  • Concurrent players rising 6x in ten minutes at tournament start
  • Match-making queue held in memory on one task, a single point of failure
  • Fixed fleet of 20 instances running at about 12% CPU outside tournaments
  • Leaderboard writes at peak overloading the relational database
02

Selected AWS services and architecture

The studio's engineers already used Kubernetes for local development and wanted Agones-compatible tooling for future dedicated game servers, so NTSPL chose Amazon EKS in ap-south-1. The match-making service was rewritten to keep queues and tickets in ElastiCache for Valkey sorted sets, so any replica can form matches and a pod loss drops no players. Horizontal Pod Autoscaler scales match-makers on queue length via KEDA, and Karpenter provisions c7g Spot nodes across several instance families. Ahead of each tournament, a scheduled KEDA trigger pre-scales match-makers and login pods to 60% of the last peak. Leaderboards moved to Valkey sorted sets with periodic snapshots to DynamoDB.

Players' mobile apps → Network and Application Load Balancers → login and match-making pods on EKS (Karpenter Graviton Spot) → ElastiCache for Valkey queues and leaderboards → DynamoDB snapshots
Amazon EKSKarpenterKEDAAmazon ElastiCache for ValkeyAmazon DynamoDBAmazon EC2 Spot Instances (Graviton)Amazon ECR
03

Implementation approach

Weeks 1-2 · Match-making redesignMoved queue state to Valkey sorted sets and made the match-making service stateless and horizontally scalable.
Weeks 3-5 · EKS platformBuilt the EKS cluster with Karpenter NodePools, KEDA and Argo CD, and ported ECS task definitions to Helm charts.
Weeks 6-7 · Load tests at 2x peakSimulated 7 lakh concurrent players with bots to tune KEDA thresholds and Karpenter limits.
Week 8 · Tournament cutoverSwitched DNS to EKS ingress on a non-tournament day and ran the next tournament with the team watching live dashboards.
04

Measured results

Match-making time at tournament start (p95)
Over 90 s→11 s
Players dropped from queues by service crash
All waiting players, twice in a quarter→None since cutover
Peak concurrent players supported
3.6 lakh (degraded)→7 lakh in load test
Monthly backend compute cost
~INR 7.5 lakh→~INR 4.6 lakh

Operational improvements

  • Tournament evenings run without engineers manually adding capacity
  • Match-making pods can be restarted or rescheduled during play without dropping players
  • Leaderboard updates no longer lock the profile database at peak
05

Cost considerations

Spot Graviton nodes run match-making and leaderboard pods because both now tolerate pod loss; login stays on on-demand nodes. EKS adds a cluster fee that ECS did not have, which the studio accepted for Kubernetes tooling and future game-server support. Valkey nodes are sized to tournament peak and are the main fixed cost.

06

Return on investment

ROI indicator

Indicatively, the studio saves INR 30-40 lakh a year on compute, and retention of tournament players improved, which it values above the infrastructure saving because in-app purchases cluster around tournaments. The platform is ready for dedicated game servers without another migration.

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.