Optimizing Synchronous Asynchrony
summary
Shows a real-world problem of "synchronous asynchrony" that arises when using async/await in JavaScript, explains why async/await can be deceptively problematic, and outlines possible solutions and the performance/behavior benefits from fixing this. Uses a concrete case the presenter encountered to demonstrate the issue and the approximate approaches to resolve it.
AI-written summary · about
chapters (19)
- 0:00Introduction
- 2:18Optimize sync asynchrony
- 5:58Search index task origin
- 7:03Search solution problems
- 11:37React complicates search
- 13:22Client-side rendering
- 15:31Puppeteer crawler v1
- 19:54Crawler v1 performance issues
- 22:26Sync requests slowed crawler
- 24:15Parallel page processing
- 27:11Sequential processing flaw
- 27:53Promise Pool implementation
- 34:15Crawler optimization results
- 36:08Final performance numbers
- 41:05Sync error handling
- 46:52Promise Pool error fixes
- 47:58Final architecture benefits
- 49:49Deployment results
- 51:13Acknowledgments








