~/talk

Optimizing Synchronous Asynchrony

TalkinRussianat HolyJS 2021 Piter · 2021-04-20..04-23· [javascript, frontend-architecture]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 2:18Optimize sync asynchrony
  3. 5:58Search index task origin
  4. 7:03Search solution problems
  5. 11:37React complicates search
  6. 13:22Client-side rendering
  7. 15:31Puppeteer crawler v1
  8. 19:54Crawler v1 performance issues
  9. 22:26Sync requests slowed crawler
  10. 24:15Parallel page processing
  11. 27:11Sequential processing flaw
  12. 27:53Promise Pool implementation
  13. 34:15Crawler optimization results
  14. 36:08Final performance numbers
  15. 41:05Sync error handling
  16. 46:52Promise Pool error fixes
  17. 47:58Final architecture benefits
  18. 49:49Deployment results
  19. 51:13Acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.