~/talk

Open heart surgery on Nginx - changing configuration without reloading

links:none on file
slides:none on file

Demonstrates a patch that lets Nginx apply a single vhost change without a full reload by running the normal config parser at runtime and propagating updates via a shared memory pool, using reference counting per virtual host and per-host memory pools so old configs free only after zero users. Handles multi-worker propagation, Lua JIT cache invalidation by hashing code, and a file descriptor cache with descriptor duplication. Works but adds significant complexity and race conditions around full reloads and per-worker state.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Overview
  3. 2:07Processing models
  4. 3:59Changing configuration without reloading
  5. 7:40Why does this happen
  6. 10:16Commercial options
  7. 11:43Thirdparty modules
  8. 14:07Allin implementation
  9. 16:10How to start the update
  10. 17:35How to do the updates
  11. 19:20Nginx shared memory
  12. 26:34Config mixup
  13. 27:31Temporary pool
  14. 29:41Lower code
  15. 31:08Conclusion
~/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.