~/talk

Introduction to Fastify

Talkat JSWorld Conference 2021 · 2021-02-22..02-27· [nodejs]
links:none on file
slides:none on file

Fastify claims one of the fastest Node.js frameworks with an 89% satisfaction rating and ~800,000 downloads and shows concrete choices: AJV for validation, pino for logging, autoload and a plugin system for encapsulation, and fast JSON stringify for schema-driven serialization that speeds responses. Benchmarks exist but run on GitHub Actions so results may vary. A live coded server, route plugin, autoload wiring, unit-test factory and dot inject tests are built on stage and mostly run after fixing ESM file extension gotchas to achieve zero overhead in production.

AI-written summary · about

  1. 0:00Fastify overview
  2. 1:23Community ownership
  3. 3:28Shared ownership culture
  4. 5:33Fastify principles
  5. 8:22Target architecture
  6. 11:11Core components
  7. 14:01Encapsulation and hooks
  8. 15:04Logging with Pino
  9. 15:46JSON serialization
  10. 16:47Validation with AJV
  11. 17:08Testing microservices
  12. 18:16Live coding server
  13. 20:29Splitting routes
  14. 21:37Reusable plugins
  15. 23:31Unit testing apps
  16. 25:40Autoloading plugins
  17. 27:45Closing remarks
~/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.