~/talk

Mastering Node.js Performance

Talkat iJS 2018 · 2018-10-15..10-19· [nodejs, web-performance]
slides:none on file

Shows concrete wins and losses: replacing synchronous file/hashing with async raises throughput from 123 to 428 requests and cuts the 50th/97th percentiles from 4.8s/7.8s to 2.2s/2.4s (measured with autocannon); resolving a million promises runs ~1.8s native vs ~1.4s with Bluebird; typed arrays cut bulk insertion from ~723ms to ~25ms; cluster master process adds overhead so nginx/iptables beat Node cluster for throughput; fix sequential I/O with Promise.all, avoid delete, prefer classes and typed arrays.

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.