Optimizing NGINX and PHP-fpm for high traffic sites

After 7 years of using NGINX with PHP, we learned a couple of things about how to best optimize NGINX and PHP-fpm for high traffic sites. Below is a collection of tips and recommendations: 1. Switch from TCP to UNIX domain sockets UNIX domain sockets offer better performance than TCP sockets over loopback interface (less copying ...

Nginx for Developers: An Introduction

If you are a web developer, you’ve probably heard of nginx (pronounced engine-x). Nginx is a fast and extremely powerful http and reverse proxy server that can be used to quickly and easily serve webpages. Unfortunately, like many sysops tools, there is very little documentation and very few tutorials that explain how it works and how to ...