~/talk

Reaching Ludicrous Speed

Talkat Codemotion Amsterdam 2016 · 2016-05-11..05-12· [nodejs, web-performance]
slides:none on file

Claims a 10x speedup on an MQTT broker, from 20,000 → 200,000 msgs/s, by removing allocations and teaching V8 to optimize hot code. Uses flame graphs, MDB/solaris diagnostics, perf-style sampling plus a custom UI (zerox) to find anonymous-function and node core hot spots. Builds libraries that recycle call-state (reify/Steed), switches streaming packet construction to cork/uncork to cut GC, and ships a fast logger (Pino) and load tester (autoc Canon). Shows the changes measurably improve throughput and reduce GC pauses in real benchmarks.

AI-written summary · about

  1. 0:00Introduction and apology
  2. 1:04Talk introduction and setup
  3. 2:32Journey to ludicrous speed
  4. 3:16MQTT broker performance in 2013
  5. 4:21Performance optimization quest
  6. 6:30How Node.js event loop works
  7. 8:36V8 optimization basics
  8. 9:17Anonymous functions problem
  9. 10:45Benchmarking performance gains
  10. 12:15Parallel function execution
  11. 13:42Avoiding function allocation
  12. 14:25Reusing functions with reify
  13. 16:54Async map performance comparison
  14. 19:47Steed library and state reuse
  15. 20:49Hot code path optimization rules
  16. 21:10Garbage collection impact
  17. 23:17Allocation vs speed trade-offs
  18. 23:59Debugging Node.js performance bug
  19. 26:11Flame graphs and automation
  20. 27:18ZX tool and live demo
  21. 29:05Pino logger performance
  22. 29:47Autocannon HTTP load testing
  23. 30:52Conclusion and resources
~/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.