Jim Cheung

Nginx High Performance

Chapter 1: Working with NGINX

Nginx runs one master process and several worker processes. The master process read/evalutes the configuration and maintains the worker processes.

Nginx does not start workers for every request. Instead, it has a fixed pool of workers for request processing.

Each worker accepts new requests from a shared listen queue. The worker then uses the available event-notification interfaces, such as epoll and kqueue, to process each connection in an efficient event loop.

Chapter 2: Benchmarking the Server

it is required to have the minimum error rate and a higher throughput.

Chapter 3: Tweaking NGINX Configuration

Chapter 4: Controlling Buffers, Timeouts, and Compression

Chapter 5: Configuring the Network Stack

Chapter 6: Using NGINX Cache

Chapter 7: Extending NGINX