~/talk

Mastering Node.js Performance

Talkat iJS 2018 Spring · 2018-04-11..04-13· [nodejs, web-performance]
slides:none on file

Shows concrete wins and costs: replacing synchronous file/hash calls with asynchronous ones (benchmarked with autocannon) raises throughput from ~123 to ~428 requests and drops medians from 4.8s to 2.2s and 97ths from 7.8s to 2.4s. Running independent DB queries in parallel cuts latency (example saving eight entities). Avoid the node cluster model in production in favor of nginx/iptables. Resolve a million promises: Bluebird 1.4s vs native 1.8s. Use typed arrays, classes, avoid delete, and move low‑priority jobs to separate processes.

AI-written summary · about

  1. 0:00Start
  2. 3:10General Performance Tips
  3. 5:55Traditional Approach
  4. 28:52Possible Multi Process Setups
  5. 31:21Request Load Comparison
  6. 32:18Why Cluster Module Handles
  7. 45:47Avoid Using Dynamic Properties
~/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.