~/talk

Conditional modules & dynamic bundling, a Netflix original

slides:none on file

Netflix builds a Webpack-based system that turns boolean feature flags into a conditional dependency graph using a Webpack plugin that reads the AST, serializes artifacts (dependency graph + transpiled code + resolution metadata), and serves on-demand bundles via Codex dynamic bundler. The combinatorics blow up (4^15 > a billion possible bundles), so artifacts are versioned, CDN-cacheable URLs are templatized, p95 latencies drop to ~70 ms (web) and ~250–300 ms (TV), and the first production rollout takes ~9–14 months by a 4–6 person team.

AI-written summary · about

  1. 0:00Start
  2. 0:46About Netflix
  3. 3:54Background about How Engineering Is at Netflix
  4. 12:07Multivariate Ab Test
  5. 23:31Node Js
  6. 25:50The Dependency Graph
  7. 28:25Define a Conditional Module
  8. 29:12Conditional Modules
  9. 29:49Concept of Conditional Modules in Javascript
  10. 32:36Conditional Dependency Graph
  11. 36:40Resolve Conditional Dependencies at Runtime
  12. 39:21Graph Traversal
  13. 41:06What Codex Does
  14. 42:59Cdn
  15. 47:24The Life Cycle of the Artifacts
  16. 56:21Any Plans of like Making Codex Public or Even Open Source
  17. 59:14Asynchronous Bundling
  18. 1:04:37Do You Use some Special Database To Store Artifacts
  19. 1:07:50If Else Statements
~/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.