India’s Leading Domain & Web Hosting Provider
Regional-language OTT service halves video start time and cuts origin egress by 82%
Subscription OTT platform, about 180 employees, 32 lakh paying subscribers · Southern and Western India, with diaspora viewers in the GCC · 9 weeks
As-is situation
The platform streamed Tamil, Telugu, Kannada and Marathi films and series encoded as HLS ladders, stored on EC2 instances running an Nginx origin with 140 TB of attached gp2 volumes, fronted by a third-party CDN contracted on a fixed commitment. Every Friday release caused origin bandwidth to jump from about 2 Gbps to 18 Gbps because the CDN's cache key included a session token. Video start time in tier-2 towns averaged 4.6 seconds, and churn surveys named buffering as the second biggest reason for cancelling.
- Cache hit ratio of about 61% because each viewer's token made segment URLs unique
- 140 TB of gp2 storage holding the full back catalogue, 85% of which was watched less than once a month
- Origin servers saturating during release-day peaks, with two Friday outages in six months
- Premium content shared through copied URLs, as there was no expiring authorization
Selected AWS services and architecture
NTSPL moved the catalogue to S3 in ap-south-1, with the latest 90 days of releases in S3 Standard and the back catalogue in S3 Intelligent-Tiering, since any old title can trend after an actor's new release. CloudFront replaced the old CDN, with origin access control on the bucket and Origin Shield in Mumbai. Authorization moved from URL tokens to CloudFront signed cookies issued at playback start, so segment URLs are identical for all viewers and fully cacheable. Cache policies give .ts and .m4s segments a one-year TTL and manifests a 5-second TTL. AWS Elemental MediaConvert jobs write new encodes directly to S3.
Implementation approach
Measured results
Operational improvements
- Release Fridays no longer need extra origin servers to be added by hand; Origin Shield absorbs the spike
- New encodes are published by MediaConvert straight to S3, removing a manual copy step to origin disks
- Shared premium links stop working once the signed cookie expires, cutting piracy complaints
Cost considerations
Delivery bandwidth dominated cost, so the hit-ratio fix delivered more than the storage move. Intelligent-Tiering was chosen over lifecycle rules for the back catalogue because a sudden trend on an old title would otherwise trigger retrieval fees. The fixed third-party CDN commitment was allowed to expire before cutover to avoid paying for both.
Return on investment
Indicative annual savings are INR 1.6-2 crore across storage, origin compute and CDN delivery. Release-day outages stopped, and the subscription team attributed an improvement of roughly 1 percentage point in monthly churn partly to faster video starts, worth considerably more than the infrastructure saving.