Scaling Web Applications with NGINX – Part II: Caching and Monitoring
The following is adapted from a talk given by Matt Williams at nginx.conf 2015, held in San Francisco in September. This blog post is the second of two parts, and is focused on caching and monitoring; the first part, focused on load balancing, can be found here. You can view the presentation slides or watch the video of the complete talk. Table of Contents – Part I, Load Balancing (previous post) 1:45 Benefits of Load Balancing/Caching 2:58 Load Balancing Methods 7:02 Which Method Should You Choose? 10:58 FYI Load Balancing 15:05 How to Ensure Session Persistence Table of Contents – Part II, Caching and Monitoring (this post) 17:08 Caching 19:33 FYI Caching 21:09 FYI Tuning 23:46 How to Find the Right Configuration 25:17 Why Monitor 26:30 Datadog 27:50 NGINX Monitoring Tools 28:40 Tools to Test With 29:45 Key Metrics 30:29 [ more… ]