~/talk

Hacking a Nginx module

Talkat Build Stuff 2016 · 2016-11-16..11-18· [web-performance, c-and-cpp]
links:none on file
slides:none on file

Describes building and testing custom Nginx modules in C compiled into the binary for ad-serving at scale, claiming a production cluster handles 1.75 million req/s across 12 Nginx instances. Uses a Scala-based test harness to spawn Nginx and mock upstreams, runs 20-hour stress tests to catch leaks, debugs with gdb and core dumps, and records percentiles with HDR Histogram. Shows a load‑balancer module, health checks and default-response fallback that work in production.

AI-written summary · about

  1. 0:00Introduction to Nginx modules
  2. 3:28Why extend Nginx with modules
  3. 7:57Nginx architecture overview
  4. 12:01Building a custom Nginx module
  5. 18:04Demo of module in action
  6. 21:42Real-world use case and performance
  7. 24:40Testing Nginx modules effectively
  8. 27:25Debugging modules in production
  9. 29:16Advanced module features implemented
  10. 32:19Resources for module development
  11. 33:32Q&A session
~/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.