Preparing chapter
Loading your data design lesson
The curriculum shell is ready while the requested chapter is being prepared. You can wait here or return to the design library.
Preparing chapter
The curriculum shell is ready while the requested chapter is being prepared. You can wait here or return to the design library.
Two-minute interview path
Explain the keyed event-time pipeline first. Then show how YouTube reconstructs playback, publishes low-latency products, and lets certified batch correct incomplete live history.
Playback · engagement
search · ads · QoE
Pinot · Redis
alerts · versioned facts
Normal path
Branches from Playing
Inside one state record
Rules applied after each event
Late mobile heartbeat
The five-minute allowance is an interview assumption. In production, choose it from measured mobile/TV delay distributions and the freshness target.
deduped views · watch depth
engagement · trust flags
combines auditable features
publishes top-N by region
Where the engine fits
ordered event streams
runs session, trending, fraud, QoE, counter, and feature jobs
holds keyed state · fires timers · checkpoints progress
Pinot · Redis · alerts · lake
Send every event for one playback attempt to the same Flink worker.
Use event time and state to understand play, pause, buffering, seek, and completion.
Produce watch time, video velocity, QoE, fraud, and recommendation signals.
Deduplicate retries and replace an older session version when delayed data arrives.
Let nightly batch reconcile complete history and publish the official numbers.