Tuning NGINX for high performance
NGINX is a well-known, high-performance web server, reverse proxy, caching server, and load balancer. It’s used by over 160 million websites today. NGINX is backed by a large community of developers and sysadmins who have created a wealth of content on optimizing the performance and operations of NGINX, including configuration guidelines, deployment guides, READMEs, and plain configuration samples. It can be difficult to sort through all this content and find the solutions that are the most relevant for optimizing your unique web delivery system.
At NGINX we have developed a number of ways to help application owners deliver high-performance websites. These features range from core support of multiprocessor environments to thread pools and network optimizations, as well as scalable caching and traffic management approaches.
In this talk we will explain how to solve performance optimization problems and improve the overall user experience with NGINX.
Agenda:
- NGINX introduction
- A basic NGINX configuration
- NGINX performance optimizations:
- Operating system-level optimizations
- Networking-level optimizations
- NGINX core optimizations
- Working with multiple CPUs and thread pools
- Using HTTP/2 out of the box with few to no changes to your applications
- Using NGINX for caching
- Filesystem and caching placement strategies - How to measure performance changes and their impact
- How to use NGINX logs and log formats
- Monitoring metrics with NGINX Plus and NGINX Amplify
- Conclusions and questions