Tagged articles
worker-processes
15 articles · Page 1 of 1
This article details six essential Nginx configuration optimizations for high-concurrency scenarios, covering worker processes, connection limits, epoll event model, TCP reuse via sendfile and TCP options, HTTP keepalive, and upstream connection pooling with concrete examples and configuration snippets.
Epollconfiguration-optimizationhigh concurrency
0 likes · 5 min read

This guide walks through the complete workflow for analyzing, configuring, and validating Nginx in high‑traffic environments, covering architecture basics, core parameters, system limits, practical configuration examples, stress‑testing methods, monitoring, risk mitigation, rollback procedures, and production‑grade best practices.
high concurrencyload-balancingnginx
0 likes · 23 min read

This article walks through practical Nginx high‑concurrency tuning steps—including worker_processes, worker_connections, Linux file‑descriptor limits, and sendfile zero‑copy settings—to dramatically increase throughput and handle tens of thousands of simultaneous connections.
Performance Tuninghigh concurrencylinux limits
0 likes · 3 min read

This guide explains Nginx's multi‑process architecture, shows how to bind worker processes to CPU cores, tune worker connections, configure upstream load‑balancing, enable proxy buffering, keepalive, gzip/Brotli compression, SSL/TLS settings, and provides testing and troubleshooting scripts for high‑performance deployments.
GZIPPerformance TuningSSL
0 likes · 35 min read

The article presents a reproducible Nginx performance‑tuning workflow that starts with defining a baseline and acceptance criteria, measures CPU, file‑descriptor, upstream and disk limits, then incrementally adjusts worker settings, systemd limits, keepalive, buffering and compression, while using gray‑scale deployment and safe rollback.
BufferingGZIPLinux
0 likes · 18 min read

The article explains why Nginx can sustain tens of thousands of simultaneous connections by using non‑blocking sockets, an epoll‑driven event loop, a fixed pool of worker processes, shared memory and memory‑pool optimizations, contrasting this design with Apache's prefork model.
Epollevent-drivenhigh concurrency
0 likes · 5 min read

The article explains that Nginx’s maximum concurrent connections are not a fixed number but are calculated from the worker_processes and worker_connections settings and are ultimately limited by the operating system’s file‑descriptor (ulimit) limits, providing formulas, an example configuration, and commands to verify the limits.
ConcurrencyServer configurationnginx
0 likes · 3 min read

This guide shows how to edit nginx.conf to adjust worker_processes based on CPU cores, explains when I/O blocking requires extra workers, and demonstrates Linux‑only worker_cpu_affinity settings with concrete examples for 2, 4, and 8‑core systems, including the exact commands to apply and reload the configuration.
CPU affinityConfigurationnginx
0 likes · 4 min read

Learn how to maximize Nginx throughput by correctly configuring worker_processes, worker_connections, enabling epoll, and using accept_mutex, with practical examples, formulae, and system‑level tweaks to avoid common pitfalls like CPU oversubscription and 'too many open files' errors.
BackendEpollaccept_mutex
0 likes · 4 min read

The article shows how adding HTML tags turns a plain‑text file into a web page, explains the need for an HTTP service to serve it, introduces reverse proxies for load‑balancing and address hiding, and outlines Nginx’s event‑driven architecture with master and worker processes, shared memory, proxy cache, multi‑protocol support, configurable modules, and scaling options, while warning of a single‑instance failure and recommending cluster mode.
HTTP serverMaster ProcessShared Memory
0 likes · 9 min read

This article explains five essential Nginx parameters—worker_processes, worker_connections, keepalive_timeout, gzip compression, and file‑caching settings—along with practical examples and code snippets to dramatically improve high‑concurrency handling on servers.
CachingGZIPPerformance Tuning
0 likes · 6 min read

This article explains how Nginx handles concurrent connections, defines worker_processes and worker_connections, shows how to calculate the theoretical maximum concurrency, and provides practical configuration tips for achieving tens of thousands of simultaneous connections.
Concurrencybackend developmentperformance
0 likes · 3 min read

This guide explains how to edit the Nginx configuration file to set appropriate worker_processes and worker_cpu_affinity values based on CPU cores and I/O characteristics, includes practical command examples, and provides sample configurations for different core counts.
Configurationnginxworker-processes
0 likes · 4 min read

This guide explains how to edit the nginx.conf file to configure the number of worker processes, determine appropriate values based on CPU cores and workload, and bind workers to specific CPU cores using worker_cpu_affinity, including practical command examples and considerations for blocking I/O.
CPU affinityServer configurationbackend optimization
0 likes · 4 min read

This article explains how to tune Nginx for high‑concurrency environments by adjusting OS limits, worker processes, worker connections, CPU priority, keep‑alive settings, TCP options, logging, caching, and I/O strategies to achieve optimal performance without relying on magical configurations.
I/O optimizationKeep-AliveLinux
0 likes · 14 min read
