~/talk

Designing the library powering Netflix's QoE with Scala 3

Talkat Scala Days 2025 · 2025-08-19..08-21· [scala, software-architecture]
github:joan38
slides:none on file

Centralized Measures Library defines 750+ concrete measures, implemented in Scala 3 using Opaque Types, given wiring and the boundary API, runs on Spark and Flink, and reuses the AC simulator to replay ~1M sessions in 30–60 minutes; heavy parsing is done once per session. A compile‑time macro called summonCached eliminates runtime hashmaps and cuts CPU by ~20–25%. The pipeline produces a JSON dependency graph for an interactive UI. The library is direct‑style, composable, and deployed across multiple apps.

AI-written summary · about

  1. 0:00Netflix video streaming QOE
  2. 2:23Data collection and analysis
  3. 7:35Challenges in metrics design
  4. 9:51The measures library design
  5. 20:26Direct style and API ergonomics
  6. 22:03Inside the boundary API
  7. 25:50Optimization and caching
  8. 30:50Future work and conclusions
  9. 32:20Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.