Real time ML at Roku
summary
Roku builds a real-time feature platform on open-source Chronon that unifies batch and streaming definitions into one Python config, pushes online features into an Aerospike KV store, and runs on Spark and Flink backends. Claims: feature freshness hits about 1–2 minute latency for streaming-derived signals; backfill runtime improves roughly 4x by switching to daily incremental aggregates instead of raw-event rereads; batch pipelines run ~4–6x faster versus the legacy Python framework. Result: one config powers offline training, online serving, and point-in-time joins, dramatically reducing cross-language duplication and iteration time.
AI-written summary · about
chapters (12)
- 0:00Introduction to real-time ML
- 1:52What is Kronon feature platform
- 3:16Legacy feature platform limitations
- 7:12Why choose Kronon at Roku
- 8:56Kronon architecture overview
- 9:39Batch feature configuration
- 11:26Real-time feature configuration
- 13:54Training data generation
- 15:19Optimizing backfill performance
- 17:49Contributions to Kronon
- 19:15Technical challenges discussion
- 20:39Q&A session
