Unlocking the Power of Web Workers
summary
Yodeck runs on over 150,000 screens and uses Web Workers to keep the player responsive by offloading text rendering and sprite preparation to a two-worker system with a nested worker that draws text to an offscreen canvas and returns bitmap data; the main thread moves sprites and partially uploads textures to the GPU. Service workers provide an offline cache for images and videos. The result is smooth ticker scrolling, reliable offline playback, and measurable UI responsiveness gains.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker intro
- 1:30About Yod and the speaker
- 3:36What are digital signups
- 3:58JavaScript single-threaded limits
- 7:06How web workers solve bottlenecks
- 7:28Web workers under the hood
- 9:13Best practices for web workers
- 12:01Case study ticker feature
- 13:01Offline functionality with service workers
- 14:27Future of web workers
- 16:33Q&A and closing
