JioHotstar Explains the Distributed Engineering Behind Personalized Ad Requests at Streaming Scale
JioHotstar explains the distributed architecture behind its real-time ad request workflow, covering ad decisioning, waterfall tiering, pacing algorithms, latency optimization, and service coordination required to select and deliver personalized advertisements during streaming playback at scale. By Leela Kumili
JioHotstar has shared insights into the engineering work behind delivering personalized ads at streaming scale. The platform's ad request process begins when a viewer encounters an ad opportunity during video playback. The request includes metadata about the content, user information, device specifics, and inventory details.
The ad selection process is not a simple lookup; it involves a multi-stage workflow. JioHotstar utilizes a tiered approach with pacing algorithms like PID and SHALE to choose a handful of ads from thousands of eligible ones for a 30-second ad pod. This ensures campaign requirements, inventory allocation, and advertiser constraints are met while maintaining an impressive 100-millisecond response time, even during peak usage.
Engineering leader Pawan Nagar explained that ad serving is more than just API calls. It requires managing low latency, scaling to handle vast traffic, using caching, and ensuring service reliability. The platform supports various ad formats including pre-roll, mid-roll videos, and display ads woven into the streaming experience.
After delivery, platforms gather data on ad impressions and viewer engagement to report and measure campaign performance. Ayush Kumar highlighted the complexity of coordinating services for ad inventory, decision-making, metadata, tracking, and analytics, all while keeping latency low.
Streaming platforms also need robust ways to handle service failures, retries, and partial availability to prevent disruptions in playback. Collaborations between advertising, platform, and reliability teams are essential to maintain campaign effectiveness and service stability. The architecture described by JioHotstar aligns with industry standards like OpenRTB, which defines communication protocols for programmatic advertising.
However, streaming platforms often add specialized services for personalization, content-targeting, and business-specific decision logic.
Written by urgent.news from InfoQ's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.