India’s Leading Domain & Web Hosting Provider
Broadcaster replatforms its ad-scheduling app to Cloud Run with no code changes
Regional-language broadcaster with 5 channels and an in-house ad sales team · Hyderabad, India · 6 weeks
As-is situation
The ad-scheduling and traffic system, a Java 11 app on Tomcat, ran on three VMs behind a hardware load balancer with sticky sessions. It produced daily playlists for five channels and handled 2,800 ad bookings on peak cricket days. Uploads of release orders went to a local disk on one VM, so that VM could never be patched during business hours. A Tomcat upgrade had been pending for 14 months because nobody owned the servers. Match days were the only real load test the system ever had.
- Release-order uploads were stored on one VM's disk, a single point of failure.
- Sticky sessions meant a VM restart logged out sales staff mid-booking.
- Peak cricket days brought 6x booking traffic for about 8 hours.
Approach, tools and architecture
NTSPL packaged the existing WAR into a container with a pinned Tomcat 10 base image after confirming the app ran unchanged. Sessions moved to Memorystore for Redis through Tomcat's session manager setting. Uploads went to Cloud Storage through a mounted volume, so the code still wrote to the same path. The app runs on Cloud Run in Mumbai with three minimum instances, and the playlist export job moved to Cloud Scheduler. The MySQL database moved to Cloud SQL on the same version.
Implementation approach
Measured results
Operational improvements
- Sales staff no longer lose sessions when an instance restarts.
- Tomcat updates now ship as a new base image through the pipeline.
Cost considerations
Cloud Run scales from three instances overnight to fifteen on match days, so the broadcaster pays for peak only when it happens. Monthly run cost is about INR 85,000, compared with INR 1.1 lakh for three VMs and the load balancer AMC.
Return on investment
Savings are modest in cash, around INR 3 lakh a year, but the faster bookings on match days protect high-value ad slots. The project paid for itself within the first IPL-style season of peak traffic.