FOUNDING PRICING · 40% OFFfor the first 1,000 members · from ₹95/month
ArchitectureDisney+ Hotstar11 min read

How Hotstar Streams Live Cricket to 59 Million Viewers

How Hotstar scaled live cricket from 10 million to 59 million concurrent viewers: scaling ahead of the match, huge load tests, and turning features off.

ShareXLinkedInWhatsApp
A wide view from the stands of the floodlit Narendra Modi Stadium in Ahmedabad at dusk during the 2023 Cricket World Cup final, with full stands and players on the field.
A wide view from the stands of the floodlit Narendra Modi Stadium in Ahmedabad at dusk during the 2023 Cricket World Cup final, with full stands and players on the field. Photo: Ishi6181, CC0, via Wikimedia Commons.

On 19 November 2023, Disney+ Hotstar reported 59 million people watching its stream of the Cricket World Cup final at the same moment. Four years earlier the same service had set a record of 25.3 million, and its engineers had already explained in public why ordinary cloud autoscaling could not have got them there. The methods they described are worth learning because they are general: scale before the crowd arrives, rehearse the event at full size, and decide in advance what to switch off.

A note on names. The service was called Hotstar, run by Star India, until it became Disney+ Hotstar on 3 April 2020. On 14 February 2025 it was merged with JioCinema into JioHotstar. This post covers 2018 to 2023 and uses the name that applied at each point.

A diagram of the request path during a live match: phones, browsers and TVs reach the CDN, which serves cached video segments and cacheable API responses such as the scorecard directly, and forwards the remaining API calls through load balancers to an internal API gateway and backend services running on Kubernetes.

The records, with dates

Every number below is a peak of concurrent viewers reported by the company.

DateMatchPeak concurrencyService name then
April 2018An IPL 2018 game6.1 millionHotstar
2018IPL 2018 final10.3 millionHotstar
12 May 2019IPL 2019 final18.6 millionHotstar
10 July 2019World Cup semi-final, India v New Zealand25.3 millionHotstar
15 November 2023World Cup semi-final, India v New Zealand53 millionDisney+ Hotstar
19 November 2023World Cup final, India v Australia59 millionDisney+ Hotstar

The 6.1 million figure is from Hotstar's own blog post of April 2018. The 10.3, 18.6 and 25.3 million figures were shown by Hotstar's cloud architect Gaurav Kamboj at AWS re:Invent 2019, and the last two were also reported by the press at the time. The 2023 figures were reported by TechCrunch, and Disney+ Hotstar's engineering blog later described serving 59 million concurrent streams.

In the same 2019 talk, Kamboj gave the other peaks behind the 25.3 million record: more than 1 million requests per second and more than 10 Tbps of bandwidth.

Why a cricket match breaks autoscaling

Most web traffic rises and falls over hours. A cricket audience moves in minutes. Hotstar's 2018 post called the pattern a tsunami: something exciting happens, a push notification goes out, and millions of people open the app together. Kamboj's 2019 talk put numbers on it: concurrency can grow by more than a million viewers a minute, while the team had roughly 90 seconds to react and a new server took minutes to boot and start its application.

That mismatch is the whole problem. Reactive autoscaling watches a metric, notices it crossing a threshold, and then asks the cloud for machines. By the time those machines are serving, the wave has already hit. The talk listed further obstacles specific to doing this on AWS at that size: requests for capacity can fail because the cloud itself has run out of that instance type, each auto scaling group used a single instance type, and groups add capacity in limited steps.

The semi-final of July 2019 shows the shape. It was interrupted by rain and finished on its reserve day. According to the talk, concurrency peaked at 13.9 million before the rain and reached 25.3 million on 10 July.

A floodlit cricket ground at night with full stands, players on the field and a scoreboard showing 23 runs needed from 5 balls.
An IPL match at Wankhede Stadium, Mumbai, in May 2013. A close finish like this is when viewers pour in. Photo: Manas46951, CC BY-SA 4.0, via Wikimedia Commons.

Scale before the match, not during it

Hotstar's 2018 post states the rule plainly. Estimate the peak concurrency for the event, then scale up for that peak before it starts. Its analogy was a host who does not start ordering food once the guests are at the door.

The mechanism was a set of ladders. For each of its three core systems (subscriptions, content metadata and streaming) the team built pessimistic traffic models and derived a table: at this estimated concurrency, run this many servers. Auto scaling groups were used only to keep the chosen number of servers alive. When live concurrency ate into a headroom threshold, operators stepped up to the next rung ahead of the traffic.

A chart-style diagram comparing two capacity lines against a rising viewer curve with a sudden spike: the pre-scaled ladder steps up before the viewers arrive and stays above the curve, while a reactive autoscaling line follows minutes behind and falls below the curve during the spike.
Stepping up a ladder ahead of demand, compared with reacting after it

The 2019 talk described the refinements: infrastructure pre-warmed before match time, scale-up triggered by request counts and platform concurrency (signals that lead the load, where CPU usage lags it), fully baked machine images so that a new server boots faster, and spot fleets with mixed instance types so that one exhausted type does not block a scale-up.

Ladders were safe but expensive, and they needed people watching. Hotstar's October 2019 post describes the next step. The team moved its key services to Kubernetes for 2019, which it called a six to eight month effort, and then wrote its own autoscaling engine that took several variables into account. That engine ran in shadow mode, making decisions nobody acted on, until the data showed it could be trusted. The post claims twice the concurrency of 2018 on a tenth of the compute.

Rehearsing at full size

You cannot learn how a system behaves at 25 million viewers from a test at 1 million. Hotstar's 2018 post says the team spent about two months building traffic models and finding a way to generate that much load, settling on Flood.io running Gatling scripts. It then held game days: full simulations of an IPL match before the tournament, including simulated tsunamis. These surfaced problems that only appear at scale, such as TLS handshake errors and keep-alive mismatches between systems, and they trained people in what to do when things go wrong.

By 2019 the load generator was an internal project called Hulk. The talk gave its size: 108,000 CPUs, 216 TB of RAM and 200 Gbps of outbound network capacity, spread across eight regions. The team also injected failures deliberately: delayed scale-up, constrained bandwidth, added latency and a failing CDN.

The October 2019 post gives an example of what this finds. A harsh simulation brought down the test system and exposed a hot spot that set off a cascading failure. Tracing it led to a component spending more than 70% of its compute on a feature the team was not even using.

The same habit shows in smaller systems. For the social feed that sat under the video in IPL 2019, engineers load-tested MQTT message brokers until they knew that one node could hold 250,000 connections, then designed for 200 such nodes to reach 50 million.

The video must play: degrading on purpose

No amount of capacity planning removes the need for a plan B. Hotstar's answer has been consistent since 2018: playing video is the primary function, and everything else is negotiable.

In 2018 the tools were on the client. Apps were built to back off when the servers signalled stress, with exponential back-off and random jitter so that millions of retries would not arrive in step. The infrastructure had panic switches that told clients to ease off.

In 2019, with the closing matches of the World Cup looking as if they might pass 30 million, the team was asked what it would take to survive 50 million. It reviewed every service's rated limits and agreed an order in which services would be switched off as concurrency climbed. The October 2019 post calls this jettisoning, after the way a spacecraft drops what it no longer needs. The talk named the first things to go: recommendations and personalisation. Video delivery and subscription payments stay.

A diagram of graceful degradation in three tiers: recommendations and personalisation can be switched off under pressure, the scorecard, key moments, watch-more and live feeds are refreshed less often to make them cheaper, and video playback and subscription payments are protected and always on.
What gets turned off, what gets slowed down, and what always stays on

Hotstar has not published the concurrency numbers at which each switch is thrown, so the diagram shows the tiers and nothing more precise. The middle tier comes from the 2023 work described below.

2023: every layer has a limit

For the 2023 Asia Cup and World Cup, Disney+ Hotstar made cricket free to watch on mobile and modelled a peak of about 50 million. Its October 2024 post says the previous peak of about 25 million had run on two self-managed Kubernetes clusters, which could not stretch that far. The work that followed is a catalogue of hidden ceilings.

The CDN. Client apps call a CDN that also acts as the external API gateway, running security checks and routing before forwarding to an internal gateway. At millions of requests per second, those checks used up the edge nodes' compute. The team sorted APIs into cacheable ones (scorecard, concurrency count, key moments) and non-cacheable ones, and moved the cacheable calls to a separate CDN domain with lighter rules. It also lowered how often features such as the scorecard refresh, which cut peak bandwidth.

NAT gateways. One cluster was using half of its NAT gateway throughput at a tenth of the expected peak. The fix was a NAT gateway per subnet where there had been one per availability zone.

Node bandwidth. Nodes running several internal API gateway pods were pushing 8 to 9 Gbps. Spreading the pods one per node brought that down to 2 to 3 Gbps.

The Kubernetes control plane. The team moved to Amazon EKS. Scaling a cluster by more than 400 nodes in one go produced API server errors, so pre-scaling was automated in steps of 100 to 300 nodes.

IP addresses. Before the World Cup, a cluster that needed over 400 nodes stalled at about 350. Each node was reserving 35 pod IP addresses from three /20 subnets, about 12,300 addresses in all. Larger subnets and a smaller reservation fixed it.

Service size. A Kubernetes Endpoints object is truncated beyond 1,000 entries, so a service with more than 1,000 pods saw traffic spread unevenly. Such services were given bigger pods and kept under 1,000.

These choices have costs, and Hotstar accepted them:

  • Paying for idle capacity. Pre-scaling means running servers for a peak that may not come. That is the price of not failing during a final.
  • A worse product at the peak. Viewers at record concurrency get fewer recommendations and a slower scorecard, by design.
  • A very large test bill. A load generator of 108,000 CPUs exists only to attack your own platform.
  • Custom machinery. The replacement for standard autoscaling was home-made: a plain Python script according to the 2019 talk, and a purpose-built engine according to the 2019 blog post. Either way, the team has to own it.

The computer science underneath

Capacity planning beats reaction when the ramp is faster than the boot time. Autoscaling is a control loop, and every control loop has a delay. If demand can double inside that delay, the loop will always be behind. The lesson on capacity planning and autoscaling covers headroom, leading and lagging signals, and cold starts.

Caching at the edge. A live stream is a sequence of small video files, and every viewer at the same quality asks for the same ones. A CDN turns millions of requests into a handful at the origin. Hotstar's own warning from 2019 is that the CDN has limits too, and that cached objects expiring together can send a burst of requests to the origin. See CDNs and the edge.

Graceful degradation and load shedding. A system that tries to do everything under overload does nothing well. Ranking features by importance and dropping the least important first keeps the core alive. Bulkheads, cells and graceful degradation explains how to keep one failing feature from sinking the rest, and backpressure and load shedding covers the back-off and jitter that Hotstar built into its clients.

Testing by breaking. Game days and injected failures find the limits before real users do. Chaos engineering and game days describes how to run them safely.

What an interviewer could ask from this

Why did autoscaling not work for live cricket? Viewers arrive at over a million a minute, while a new server takes minutes to become useful. A reactive loop is always late, and the cloud may not even have the capacity when asked.

What would you scale on, if not CPU? A leading signal such as concurrent viewers or request rate. CPU rises only after the load has arrived.

How do you decide what to turn off under load? Name the primary function (here, video playback), rank everything else by how much users would miss it, and rehearse the switches in advance. Personalisation went first at Hotstar.

Why add jitter to client retries? Without it, millions of clients that failed together retry together, producing a second spike. Random delay spreads them out.

Why can a service with 1,200 pods behave worse than one with 900? The legacy Kubernetes Endpoints object holds at most 1,000 addresses, so some pods get no traffic from components that still use it. Fewer, larger pods avoid the limit.

Why split cacheable and non-cacheable APIs onto different domains? Cacheable responses need lighter processing at the edge. Separating them frees edge compute and stops a problem in one class affecting the other.

Takeaways

  • When demand ramps faster than servers boot, capacity has to be in place before the event. Hotstar scaled to a forecast peak and stepped up ahead of traffic.
  • Load tests only tell the truth at full scale, and failures should be rehearsed as seriously as success.
  • Decide the order of sacrifice in advance. Hotstar's rule was that video keeps playing while lesser features are switched off.
  • Every layer has a ceiling: CDN compute, NAT gateways, IP ranges, even a single Kubernetes object. Growth from 25 million to 59 million meant finding each one.

Sources

  1. Hotstar tech blog: Scaling Is Not An Accident (Akash Saxena, 23 April 2018), read via the Wayback Machine
  2. Hotstar tech blog: Scaling the Hotstar Platform for 50M (Akash Saxena, 1 October 2019), read via the Wayback Machine
  3. Hotstar tech blog: Building Pubsub for 50M concurrent socket connections (Manas Chaudhari and Piyush Gupta, 6 June 2019), read via the Wayback Machine
  4. Disney+ Hotstar tech blog: Scaling Infrastructure for Millions, From Challenges to Triumphs, Part 1 (9 October 2024), read via the Wayback Machine
  5. Rootconf Pune 2019: Scaling hotstar.com for 25 million concurrent viewers (Gaurav Kamboj), talk abstract
  6. Classmethod: session report on AWS re:Invent 2019 CMY302, Scaling Hotstar.com for 25 million concurrent viewers
  7. MediaNews4U: Hotstar records 25.3 million concurrent viewers during the India vs New Zealand semi-final (15 July 2019)
  8. TechCrunch: Cricket World Cup highlights just how big video streaming is in India (24 June 2019)
  9. TechCrunch: India and Australia World Cup final shatters streaming records on Hotstar (19 November 2023)
  10. Disney+ press release: Disney+ Hotstar launches on 3 April 2020 (31 March 2020)
  11. Business Today: JioHotstar officially launched (14 February 2025)

Written by the Codevizag Academy team

An independent explainer built from the public sources listed above. Codevizag Academy is not affiliated with Disney+ Hotstar. Found a mistake? Write to support@codevizag.com.

More case studies

Understood it? Now prove it.

The lessons behind this case study are free, and 20 problems a month are judged on real test cases at no cost.

Start solving free