~/talk

Building Ultra-Low Latency APIs in Node.js with Native Modules and Worker Threads

Talkat DevConf.CZ 2026 · on Thursday, 2026-06-18· at 14:00· E104 (capacity 72)· [nodejs, web-performance]
links:none on file
links:none on file
slides:none on file

Claims measurable wins: replacing hot JS paths with N-API (Rust/C++) yields image blur 20 ms → 0.4 ms and whole-request latency from ~32 ms (blocked) or ~27 ms (worker_threads) down to ~1 ms native; converting HTML table parsing cuts a 4.5 KB page from 28 ms to 5.3 ms and a large page from 140 ms to 31 ms. Implementation uses worker_threads and worker pools to avoid event-loop stalls, shares memory with SharedArrayBuffer to avoid cloning, and diagnoses hotspots with autocannon + clinic.js + 0x.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28Why latency matters
  3. 3:31Node.js sweet spot
  4. 5:19CPU bottlenecks with threads
  5. 7:29Performance with native modules
  6. 8:54Architecture for lower latency
  7. 10:40Benchmarking tools
  8. 13:14Case study and demo
  9. 16:54Native vs threads benchmarks
  10. 18:27Implementation strategy
  11. 19:53Real-world with Rust
  12. 20:56Key takeaways
  13. 21:18Q&A
~/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.