India’s Leading Domain & Web Hosting Provider
Regional OTT stops a ₹6 lakh transcoding loop in hours and cuts non-prod spend by 58%
Regional-language streaming service with about 30 lakh subscribers and a weekly content drop · Google Cloud Mumbai (asia-south1) · 5 weeks to first full cycle
As-is situation
The service transcoded new episodes on GKE batch jobs, stored renditions in Cloud Storage and ran recommendation models in BigQuery. Monthly spend was about ₹48 lakh. Development and QA clusters, plus four staging environments for TV and mobile apps, ran around the clock. Budget alerts went to a finance mailbox. A misconfigured retry policy once re-transcoded the same 400 episodes for four days, costing about ₹6 lakh before an engineer noticed. Recommender listed 210 idle disks and VMs that nobody had reviewed.
- A four-day transcoding retry loop cost about ₹6 lakh before detection
- Non-production clusters and VMs, about 35% of total spend, ran 24x7
- 210 idle disks and VMs listed in Recommender with no owner
Approach, tools and architecture
NTSPL built a daily BigQuery report from the billing export, with alerts for any project 25% above its 14-day baseline and above ₹20,000 a day, routed to our analysts instead of the finance mailbox. Non-production GKE node pools scale to zero from 9 p.m. to 8 a.m. and on weekends, with an override label. The 210 idle resources were ticketed to owners from labels and project metadata, and 176 were deleted after snapshots. A per-job spend cap was added to the transcoding pipeline in agreement with the media engineering team.
Implementation approach
Measured results
Operational improvements
- Media engineering sees its daily transcoding cost per episode
- Finance receives a weekly INR summary of what changed and why
Cost considerations
The BigQuery cost model runs on a small daily query against the billing export, costing little each month. Snapshots taken before deletion were kept for 30 days and then expired automatically, so storage did not creep back.
Return on investment
Monthly spend fell by about ₹11 lakh, roughly ₹1.3 crore a year, against a service fee of a small fraction of that. Catching one runaway loop early would by itself have saved more than the annual fee.