Cranking Nginx up to 11
summary
Nginx is shown doing far more than static files: memcache pass directly from nginx lets Nginx serve APIs without PHP, modules let Nginx talk to Redis, GeoIP, MogileFS and even Drizzle/MySQL and return JSON, and header modules add or clear headers without touching application code. Live reloads and live binary upgrades keep workers alive during upgrades. Examples include a 2GB cache with 600 minute inactive TTL and caching 404s for 1 minute, and use of proxy_cache_use_stale to prevent stampedes; modules require compiling.
AI-written summary · about
chapters (14)
- 0:00Start
- 2:37Reload (HUP Signal)
- 3:32Upgrade (USR2 Signal)
- 4:35Debugging
- 5:30Connection Specific
- 6:23Debug Rewrite Rules
- 8:24The power of SET
- 8:51Forward Domains
- 10:11Simple Round Robin
- 10:51Consistent IP Routing
- 11:25Different Weights
- 17:12add_header
- 17:42expires
- 30:28And more!
related talks
45mNginx: The power within
43mnginx for fun and performance
41mHacking a Nginx module
47mOptimizing nginx – from Beginner to Expert to Crazy
52mWhat's New in nginx?
54mSpeeding Up and Offloading a Web Server by Transparently Caching on SSD
36mApache, nginx, Docker and the Swear Words We Love
54mSpeeding Up and Offloading a Web Server by Transparently Caching on SSD
