India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudSports technologyMedia, Gaming & Entertainment

Live-scoring app scales 25x for match days with zero pending pods at toss

Live-scoring, fantasy-stats and commentary app, 9 million monthly active users · India with diaspora users in the UK, UAE and Australia · 7 weeks

Amazon Web Services
01

As-is situation

The scoring backend ran on a GKE Standard cluster with two node pools sized for big tournaments. Between matches, traffic was about 2,000 requests per second; at the toss of a high-profile match it jumped to 50,000 within four minutes. The cluster autoscaler took three to five minutes to add nodes, so pods sat pending and push notifications for the first wickets arrived late. To compensate, the team kept 60 nodes running permanently, paying for idle capacity on non-match days. WebSocket connections for live commentary dropped during node scale-down, causing visible reconnect storms.

  • Three to five minutes of pending pods at match start despite overprovisioning
  • Sixty permanently running nodes at around 15% utilization on non-match days
  • WebSocket disconnects for up to 400,000 users during node scale-down
  • Push notification delay of up to 90 seconds on key match events
02

Selected Google Cloud services and architecture

NTSPL moved the stateless API and WebSocket gateway tiers to a regional GKE Autopilot cluster in asia-south1, with diaspora traffic served through the same global Gateway. A match-schedule controller raises HPA minimums 45 minutes before toss using the fixtures feed, and HPA scales further on active connections per pod from Managed Service for Prometheus. PodDisruptionBudgets and a 30-minute termination grace period with connection draining stop WebSocket drops during scale-down. Score ingestion workers run as Spot Pods with a standard-pod fallback. Gateway API weighted routes allow new scoring logic to be canaried at 5% on low-stakes matches first.

Fans → GKE Gateway (global external Application Load Balancer) → Autopilot WebSocket and API pods (pre-scaled from fixtures) → Memorystore for Valkey → Pub/Sub ← Spot ingestion workers ← score feeds
GKE AutopilotGKE Gateway APIGoogle Cloud Managed Service for PrometheusArtifact RegistryPub/SubMemorystore for Valkey
03

Implementation approach

Weeks 1-2 · Match-day traffic modellingReplayed three past tournament days to derive connections and requests per pod at each match phase.
Weeks 3-5 · Autopilot migration and pre-scalingMoved stateless tiers to Autopilot and built the fixtures-driven HPA minimum controller.
Weeks 6-7 · WebSocket draining and Spot workersAdded graceful draining, PDBs and Spot Pods for ingestion workers, then load-tested 30x baseline.
04

Measured results

Pending pods at match start
3-5 minutes→None observed in 40 matches
Push notification delay on wickets
Up to 90 s→Under 6 s
WebSocket disconnects during scale-down
Up to 400,000 users→Under 2,000 users
Monthly cluster cost (season average)
INR 16 lakh→INR 9.2 lakh

Operational improvements

  • Match-day scaling no longer needs an engineer adjusting node pools before toss
  • New scoring features are canaried on low-stakes fixtures through Gateway API weights
  • Non-match days run at baseline size automatically, without anyone remembering to scale down
05

Cost considerations

Pre-scaling 45 minutes early adds a small, deliberate cost per match in exchange for zero pending pods. Spot Pods cut ingestion cost by over 60%, with a standard fallback to protect live scores. No committed use discount was bought for match-day capacity; only the low non-match baseline is committed.

06

Return on investment

ROI indicator

Removing permanently idle nodes saves an indicative INR 75-85 lakh a year, while reliable match-start performance improved session length and ad impressions; the business estimates an additional INR 1-1.4 crore in annual ad and subscription revenue during tournaments, against a one-time migration cost of about INR 18 lakh.

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.