~/talk

Reaching Ludicrous Speed

Talkat Node.js Interactive 2015 · 2015-12-08..12-09· [nodejs, web-performance]
slides:none on file

Goal is tenfold throughput jump from 20,000 messages/sec to 200,000 messages/sec for an MQTT broker; achieved by profiling with flame graphs, DTrace and V8 flags (--trace-opt, trace-inlining) and eliminating hot allocations. Built and used reusify and steed (and compared to async, neo-async, fastparallel), moved packet generation to cork/uncork streaming to avoid buffer allocation, and reduced closures so V8 can optimize. Result is a working, order-of-magnitude speedup with concrete benchmarks.

AI-written summary · about

  1. 0:00Introduction to speed
  2. 0:23MQTT broker performance
  3. 1:17Achieving a 10x boost
  4. 2:44Tools for optimization
  5. 3:31Understanding the event loop
  6. 5:25V8 optimization pitfalls
  7. 6:44Optimizing parallel calls
  8. 9:33Introducing Steed
  9. 12:33Benchmarking and analysis
  10. 16:52Advanced performance techniques
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.