Realtime Webpack - Pushing on-demand bundling to the limits
summary
Pipeline replaces Webpack input with MemoryFS, caches modules in Redis, and runs a dynamic compiler service as a pool of worker instances behind an autoscaler and job queue; result is measurable: 11,000 builds a day at ~2.6 seconds per build, four preview builds/sec from six preview workers. A 1,000-client load test spins 100 workers, uses 77 cores and 100 GB RAM, finishes 1,000 production builds in two minutes with a 9 builds/sec peak. Tips include HappyPack, Preact+Buble and Rollup for closure and tree-shaking gains.
AI-written summary · about
chapters (4)
related talks
31m10KB or Bust" The Delicate Power of Webpack and Babel"
19mScaling Webpack to Thousands of Concurrent Builds
52m10KB or Bust: The Delicate Power of Webpack and Babel
40mBuilding a Platform: Webpack and the Future
45mBundler Bonanza
58m10KB or Bust: The Delicate Power of Webpack and Babel
30mWeb runtime performance
41m10KB or Bust: The Delicate Power of Webpack and Babel
