Modules made awesome. Lessons learned from YUI loader on Node.js
summary
YUI Loader Server (YLS) runs on Node.js and shifts dependency resolution to the server so modules load as fast as prebuilt combos; it caches responses across users and reports big wins on mobile like 900ms to 450ms and desktop examples such as 106→30, 58→14; separating the loader into a dedicated process with webworker-separated loader avoids Node blocking and keeps memory stable, sustaining up to 400 requests per second in tests; server-side YUI, sandboxed iframe tests, pact/vows tooling and open source code are already used.
AI-written summary · about
chapters (14)
- 0:00Start
- 1:16YUI 3 and Modules
- 7:48Client-side API
- 12:08Podium Benchmark
- 14:25The Basics: Server-Side YUI
- 14:42Scaling YUI Loader
- 14:59It's Important to Test
- 15:39Avoid Blocking
- 17:01Stress Testing Node.js Servers
- 17:42Client-Side Performance Testing
- 17:52Testing with Iframes
- 18:14Connect Middleware
- 19:11Client-Side Lessons
- 19:47Recap
related talks
27mA novel, efficient approach to JavaScript loading
45mLoading Modules Everywhere!
30mESM Loaders: Enhancing Module Loading in Node.js
32mPlease Wait... Loading: A Talk of Two Loaders
22mPlease wait... loading: a tale of two loaders
22mESM Loaders: Enhancing Module Loading in Node.js
28mNode.js Loader Hooks for Fun and Profit
19mModule Frontiers
