The front end of the Nginx [introduction, installation, load balancing scheduling algorithm configured]

The front end of the Nginx [introduction, installation, load balancing scheduling algorithm configured]

Foreword

We believe that people know the front end, the front end just develop some code, packaging, and then threw back-end personnel, so that the back-end staff to be deployed, such a situation not uncommon, posted a group of students do not graduate, who also saw his own shadow . A few years ago, before vue not popular, are basically on the front end of the back-end, front-end only do some work cut plan, html, css, js, etc., rarely focus on how to write your own code to deploy, there are people do not even care, extenuating. It's now in vogue, and the front and rear end vue separate deployment front-end requirements of quality, performance gradually rises, do not know some simple deployment issues, it is quite difficult to find your next job and salary increases.

Now you only if you know the words Nginx, old iron, you won the lottery, and finally a technology can improve your friends!

How did Nginx?

In the early days, that is my first time into the line, then the Apache heyday, knowledge may be relatively narrow contact me, anyway, surrounded by Apache, Apache was a long period of development, and there is no dispute the world's largest server, stable, open source, cross-platform, and so on, but as Taobao, Jingdong run tens of thousands of concurrent access, causes the server to consume a lot of memory, operating system and then switch them between processes or threads also consume a lot of CPU resources, resulting in lower average response rate of HTTP requests, because the problem of high concurrency, causing many people to study, highly concurrent outgoing server, resulting in the birth of Nginx. Due to the characteristics of open source and other portable and strong, so now it is fire it!

What is Nginx?

On Baidu Encyclopedia says:

Nginx (engine x) is a high-performance HTTP server and reverse proxy web server, but also provides IMAP / POP3 / SMTP services. Nginx by Igor Saisuoyefu of Russia visited the second Rambler.ru site: developed (Russian Рамблер), the first public version 0.1.0

Guess you like

Origin blog.csdn.net/alnorthword/article/details/104049546