India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSOTT streaming (subscription video)Media, Gaming & Entertainment

OTT platform cuts lake query scans 86% and decides content renewals on watch data

Hindi and regional-language SVOD service, 1.4 crore monthly active viewers · AWS Mumbai · 10 weeks

Amazon Web Services
01

As-is situation

Player heartbeat logs, ad-impression beacons and subscription events arrived at about 3.2 TB a day as gzipped JSON in one S3 bucket. Over three years it grew to 2.1 PB, all in Standard storage. Athena queries for completion rates scanned 30-40 TB each and often timed out, so the content team renewed licences using vendor-supplied viewership summaries. Twenty-six engineers and three agencies had IAM access to the whole bucket, including device IDs and phone-linked account IDs. Storage cost rose every month with no owner.

  • 2.1 PB in Standard storage, 71% not read in over 6 months
  • Completion-rate queries scanned 30-40 TB and timed out after 30 minutes
  • 29 principals with full-bucket read access to device and account identifiers
02

Approach, tools and architecture

NTSPL split the bucket into raw, standardised and curated zones per domain (Playback, Ads, Subscriptions). Glue jobs convert JSON to Zstd Parquet hourly, partitioned by event date and content ID bucket, and compact to 256 MB files. Raw JSON is kept 45 days. Lake Formation tags replace bucket access, with device and account IDs visible only to the fraud team. Older standardised data moved to S3 Intelligent-Tiering and Glacier Instant Retrieval. A curated title-performance dataset feeds licence renewal reviews. Agencies now get de-identified extracts only.

Player and ad beacons → Data Firehose → S3 raw (45 days) → Glue Parquet conversion → standardised zone → curated title performance → Athena and Quick Sight
Amazon S3Amazon Data FirehoseAWS GlueAWS Lake FormationAmazon AthenaAmazon Quick Sight
03

Implementation approach

Weeks 1-2 · Access-log profilingMapped which prefixes were actually read and by whom over 12 months.
Weeks 3-6 · ConversionConverted the last 18 months to Parquet and switched daily ingestion to the new zones.
Weeks 7-8 · Access cutoverMoved 29 principals to tag-based grants and removed the agencies' bucket keys.
Weeks 9-10 · Tiering and clean-upTiered or deleted 1.3 PB with owner sign-off.
04

Measured results

Bytes scanned per completion-rate query
30-40 TB→4-5 TB (86% less)
Monthly S3 storage bill
INR 41 lakh→INR 14 lakh
Principals with access to device identifiers
29→4
Licence renewals backed by first-party watch data
0%→100% of the 70 titles reviewed that year

Operational improvements

  • Completion-rate queries finish in under 3 minutes and run daily
  • Agencies receive curated, de-identified extracts instead of bucket credentials
05

Cost considerations

Conversion jobs add about INR 2.4 lakh a month in Glue and Athena compute, far below the INR 27 lakh monthly storage reduction. Glacier Instant Retrieval was chosen over Deep Archive because analysts still read 2-year-old data a few times a quarter.

06

Return on investment

ROI indicator

Storage savings alone return about INR 2.9 crore a year against an INR 38 lakh build. Declining renewals on three under-watched titles avoided an estimated INR 6 crore in licence fees, a decision the old data could not support.

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.