Nginx: The power within
summary
Explains concrete tricks: use debug-level error logs and rewrite logging, perform an in-place binary upgrade while workers replace old ones, and use lease connections or iphash+weight for load balancing. Shows caching with proxy_cache_path and proxy_cache stale-while-revalidate to avoid backend stampedes. Demonstrates modules: headers_more, set_misc, drizzle (MySQL/Postgres via rds output), Lua and Memcached/Redis integration so nginx can do nginx→Memcached direct lookup and cut PHP out, yielding ~300–400× faster responses for cached API hits.
AI-written summary · about
chapters (10)
- 0:00Introduction and basics
- 2:09Hot reloads and upgrades
- 3:32Advanced debugging
- 6:50Rewrites and variables
- 11:20Load balancing strategies
- 15:13Caching mechanisms
- 21:30Header manipulation
- 27:49Memcached integration
- 34:03Advanced module extensions
- 44:21Closing remarks
related talks
38mCranking Nginx up to 11
47mOptimizing nginx – from Beginner to Expert to Crazy
43mnginx for fun and performance
41mHacking a Nginx module
52mWhat's New in nginx?
14mAI Workloads and NGINX: Navigating Agentic Traffic Flows
45mWhat's New in nginx
42mKilling the Reverse Proxy from the Inside: the Evolution of NGINX...
