India’s Leading Domain & Web Hosting Provider

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

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

Amazon Web Services
01

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.
02

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.

WAR build → container image → Cloud Run with Memorystore sessions → Cloud Storage volume → Cloud SQL
Cloud RunMemorystore for RedisCloud StorageCloud SQL for MySQLCloud Scheduler
03

Implementation approach

Week 1 · Blocker scanFound uploads, sessions and a cron export as the only blockers.
Weeks 2-4 · PackagingBuilt the image and externalised sessions and files.
Weeks 5-6 · CutoverLoad-tested at 6x and switched DNS on a non-match day.
04

Measured results

Business logic changes
Not applicable→0 lines
Peak-day booking response p95
3.8 seconds→0.9 seconds
Release time
Half-day manual WAR copy→12 minutes from pipeline

Operational improvements

  • Sales staff no longer lose sessions when an instance restarts.
  • Tomcat updates now ship as a new base image through the pipeline.
05

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.

06

Return on investment

ROI indicator

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.

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.