~/talk

Let it crash!

Talkat NodeConf.EU 2019 · 2019-11-10..11-13· [nodejs, observability]

Crashes are treated as facts: uncaughtException and unhandledRejection cause immediate exits, so the app logs full error objects and stack traces, generates post‑mortems and restarts cleanly. The code uses server.close with a nonref timeout to finish or cut lingering sockets, runs multiple worker processes behind a load balancer, and relies on OS/container restarters rather than in‑process magic. process.abort generates core dumps and helps native debugging with llnode, log stack and reason with Pino or Winston to external stores, use systemd/upstart or container restart policies.

AI-written summary · about

  1. 0:00Intro
  2. 1:05Some background
  3. 3:22Health Checks
  4. 4:16APM
  5. 5:23Let it crash!
  6. 6:12Process Lifecycle
  7. 8:53Exit Events
  8. 11:53Signal Events • SIGTERM: A process monitor will send a SIGTERM signal to successfully terminate a process
  9. 13:08Error Events
  10. 17:13Running more than one process
  11. 18:32Process Monitoring Use OS native process monitoring to restart your process on failure
  12. 24:08Logging
  13. 28:07Resources
~/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.