EN / Day 3 / 19:00 / Track 4

Netflix runs hundreds of A/B tests a year and we have seen exponential growth in variations of user experiences we serve to our Netflix users. Pre-publishing these millions of variations of the UI bundles to allow for these unique experiences, was not possible at Netflix's scale.

So what did we do?

We built our own "Conditional Module Bundler" on top of Webpack. This talk gives a sneak peek at how Netflix uses "conditional dependency graph" and "runtime dynamic bundling" to generate and deliver unique UI bundles directly at runtime. The audience will also get to know about the challenges involved and the lessons learned while building such a system.

Learn about how we hacked Webpack for our needs, leveraged Abstract Syntax Tree (AST) to identify conditional dependencies in our dependency graph and glued them all together to build a highly scalable, server-side JS and CSS bundler, that serves these unique user experiences to millions of Netflix customers across the globe.

Download presentation.


Rajat Kumar

Rajat is a Senior Software Engineer at Netflix and is passionate about building products. He enjoys writing code in JavaScript because he believes JavaScript has its complexities and imperfections that mimic the real world.

Rajat has been involved in several engineering challenges at Netflix, including Conditional Runtime Bundler called Codex, Netflix's NodeJS PaaS called NodeQuark.

He also maintains and is a core contributor to Restify.

Приглашенные эксперты

Maksim Yuzva

Frontend team lead, hiring and resource manager at EPAM. Organizer of FrontSpot community, often hangs out with BeerJS. Trains developers to negotiate. Looks at development from a different angle and gives talks about it.