Book Image

Nginx Essentials

By : Valery Kholodkov, Valery I Kholodkov
Book Image

Nginx Essentials

By: Valery Kholodkov, Valery I Kholodkov

Overview of this book

Table of Contents (13 chapters)

Chapter 6. Performance Tuning

Performance tuning is the improvement of system performance. In our context, it is the performance of an entire web service or an individual web server. The need for such activity arises when there is a real or anticipated performance problem, such as excessive response latency, insufficient upload or download rate, lack of system scalability, or excessive use of computer system resources for seemingly low service usage.

In this chapter, we will look at a number of topics that deal with performance problems using features of Nginx. Each section explains when and how a solution is applicable; that is, what kind of performance problems it addresses.

In this chapter you will learn about:

  • How to optimize static file retrieval

  • How to set up response compression

  • How to optimize data buffer allocation

  • How to accelerate SSL by enabling session caching

  • How to optimize worker process allocation on multi-core systems