It can be called a must, the Nginx notebook manual used by Ali technicians, applied to the complete structure

Someone made fun of us and said:

  • Programmers are better off delivering food. Delivering food is to carry food, and it is to carry the code, and it does not produce new things...
  • Overdrafting physical strength and consuming health, it is extremely replaceable, and after the age of 30, it will face the danger of being optimized...
  • I want to change jobs, but it is difficult to enter a higher platform, and the platform of the same level is repeated...
  • I want to use my spare time to learn and improve, but my ability is limited and it is difficult to form a knowledge system...

These are actually the dilemmas faced by junior programmers. When you improve your ability and climb to a higher level, both salary and development will be greatly improved.

So the question is, how can we overcome the bottleneck of junior programmers and become a high-paid engineer?

Nginx is very popular because it is like a panacea, it can always be found in any situation where there is a performance requirement, and it can easily achieve high-throughput web services under millions of concurrent connections. At the same time, third-party module groups such as OpenResty and Tengine have further developed a new ecosystem, enabling the application of Nginx to further expand to application firewalls, CDNs and other fields.

Although there are many introductions about the use of Nginx on the Internet, there are two problems:

  1. It is only introduced from the level of how to use it, and the discrete knowledge points are not strung together, which makes it difficult for everyone to deal with personalized customization scenarios that have not appeared before.
  • There is no systematic introduction to performance optimization knowledge, and in the enterprise production environment, we often need a complete optimization solution from application to system.

In order to solve the above two problems, here is a collection of this **30W word Nginx study notes manual written by Ali's technology boss,** from the perspective of HTTP application layer, distributed cluster perspective, hardware and operation From the perspective of system kernel optimization, we systematically interpret the core knowledge of Nginx, and help everyone grow from a primary user of Nginx to a high-level user.

Nginx Study Notes Manual Part 1 Contents

This part introduces the way of configuration items, and focuses more on leading readers who are relatively unfamiliar with Nginx to familiarize themselves with it. By understanding the configuration modification methods of several basic Nginx modules, readers can query the official website and third-party websites to learn how to use it. The usage of all Nginx modules, the main contents are as follows:

  • Chapter 1: Preparation before studying Nginx
  • Chapter 2: Nginx Configuration

Nginx Study Notes Manual Part II Contents

In the second part, the development method of the HTTP module is introduced with examples. Some of the learning methods here are close to "step by step". At the same time, the readers can get started quickly through a step-by-step method. The basic principles of common usage, the main contents are as follows:

  • Chapter 3: Developing a Simple HTTP Module
  • Chapter 4: Configuration, Error Logging, and Request Context

  • Chapter 5: Accessing Third-Party Services
  • Chapter 6: Developing a Simple HTTP Filtering Module
  • Chapter 7: Advanced Data Structures Provided by Nginx

Nginx Study Notes Manual Part III Contents

In the third part, I will start to introduce the complete framework of Nginx. Read here to understand why the HTTP module in the second part is developed in this way, and at the same time, it will be easy to develop Nginx modules. This part is not only satisfied with explaining the Nginx architecture, but will discuss why it is designed in this way. Only in this way can we abandon the HTTP framework and the mail proxy framework, and realize a new business framework and a new module type**, mainly The content is as follows:**

  • Chapter 8: Nginx Infrastructure
  • Chapter 9: Event Module

  • Chapter 10: Initialization of the HTTP Framework
  • Chapter 11: The Execution Flow of the HTTP Framework

  • Chapter 12: Design and Implementation of the Upstream Mechanism
  • Chapter 13: Mail Proxy Module

  • Chapter 14: Interprocess Communication Mechanisms
  • Chapter 15: Variables
  • Chapter 16: slab shared memory

Nginx study notes manual content display

at last

As we all know, Nginx is an excellent reverse proxy software with excellent performance and high stability. It is often used for Web load balancing, hiding the real network architecture of the Web, or developing modules on it to implement authentication and WAF. **If you still don't have good study notes and ideas because you want to learn, this study manual note and the following thinking study route notes can help you very well!

Guess you like

Origin blog.csdn.net/shy111111111/article/details/127322560