JioHotstar has published an engineering overview of its ad request workflow, explaining how the streaming platform coordinates distributed services to select, deliver, and measure personalized advertisements during video playback. The architecture is designed to make real-time ad decisions within strict latency requirements while supporting large-scale streaming traffic and maintaining playback reliability.
An ad request begins when a viewer reaches an advertisement opportunity during content playback. The request contains contextual information required for ad selection, including content metadata, user context, device information, and available inventory details. The platform then processes the request through multiple backend components responsible for evaluating eligible advertisements, applying targeting rules, and generating the final response returned to the video player.
Flowchart indicating the steps taken in the ad server for decisioning (Source: JioHotstar Blog Post)
The ad decision workflow involves multiple stages rather than a single lookup operation. JioHotstar describes using a waterfall tiering approach combined with pacing algorithms such as PID and SHALE to select a small number of advertisements for a 30-second ad pod from thousands of eligible candidates. These calculations help balance campaign delivery requirements, inventory allocation, and advertiser constraints while completing ad selection and response generation within 100 milliseconds, including during high concurrency events such as major live sports moments.
Commenting on the engineering post, Pawan Nagar, Engineering Leader, noted that ad serving involves backend challenges beyond API communication:
Serving an ad is much more than just calling an API. Managing low latency, handling huge traffic, using caching, and keeping services reliable are the real backend challenges.
The platform supports multiple advertising formats, including pre-roll and mid-roll video advertisements, along with display-based formats integrated into the streaming experience. After an advertisement is delivered, additional systems collect delivery signals such as impressions and engagement events to support campaign reporting and measurement.
Ayush Kumar describes engineering challenge involves coordinating services responsible for advertisement inventory, decisioning, content metadata, tracking, and analytics while maintaining low latency. Distributed ad platforms also need mechanisms for handling failures, retries, and partial service availability so that temporary issues in individual components do not disrupt playback. Operating these systems requires collaboration between advertising, platform engineering, and reliability teams to validate campaign behavior, monitor service health, and troubleshoot issues across the request path.
The architecture described by JioHotstar follows patterns used across digital advertising platforms. OpenRTB, an industry standard maintained by the Interactive Advertising Bureau (IAB), defines communication protocols between advertising buyers and sellers in programmatic advertising ecosystems. IAB Tech Lab OpenRTB Specification, while OpenRTB focuses on interoperability between advertising participants, streaming platforms typically build additional internal services for personalization, content-aware targeting, and business-specific decision logic.