Skip to content

Improve Nginx Performance: Multi-Threading

View on Twitter

💡 Nginx is an awesome web server and reverse proxy. But some if its defaults are better changed to more sane values.

👉🏼 One such value is "worker_processes". By default, Nginx uses only one CPU core. Set this to "auto" to use all available cores on the system.

By setting worker_processes to auto, Nginx will spin up a number of threads equal to available CPU cores.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
Restrict SSH Key to Specific Commands Read tip
Project Ideas List Read tip
Improve Nginx Performance: Direct File Transfers Read tip