~/talk

A world of Rest APIs ... from Restify to a faster Fastify

Talkat NodeJs Day 2019 · on Friday, 2019-09-27· [nodejs, web-performance]
slides:none on file

Migrating a Node.js REST API platform from Restify to Fastify yields concrete gains: profiling with flamegraph and 0x identifies the REST endpoints as the CPU hotspot; benchmarking with autocannon shows 366→468 rps (≈22%) after switching handlers and enabling fast-json-stringify with JSON Schema; adding Fastify’s HTTP proxy plugin raises throughput to ≈700 rps (≈50%). System is NetCTI over Asterisk PBX, tests run on single‑core VMs and DigitalOcean; code stays simpler and modular.

AI-written summary · about

  1. 0:00Start
  2. 12:56The new code
  3. 15:21Test Scenario 1
  4. 16:11Fastify performance
  5. 18:46fastify-http-proxy
  6. 19:47Autocannon results
  7. 21:07Test Scenario 2
  8. 22:54Fastify story
~/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.