Home  >  Article  >  Operation and Maintenance  >  Yan Shiba Nginx video material recommendation (source code, courseware)

Yan Shiba Nginx video material recommendation (source code, courseware)

黄舟
黄舟Original
2017-12-04 11:31:112813browse

Nginx ("engine x") is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server. Nginx was developed by Igor Sysoev for the Rambler.ru site, the second most visited site in Russia. The first public version 0.1.0 was released on October 4, 2004. It releases its source code under a BSD-like license and is known for its stability, rich feature set, sample configuration files, and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.

Yan Shiba Nginx video material recommendation (source code, courseware)

Course playback address: //m.sbmmt.com/course/415.html

This video was created by Yan Shiba. The teacher’s teaching style is:

The teacher’s lectures are vivid, witty, witty, and touching. A vivid metaphor is like the finishing touch, opening the door to wisdom for students; an appropriate humor brings a knowing smile to students, like drinking a glass of mellow wine, giving people aftertaste and nostalgia; a philosopher's aphorisms, cultural references Proverbs are interspersed from time to time in the narration, giving people thinking and warning.

The more difficult point in this video is to achieve load balancing:

When a large amount of traffic is generated in the production environment, it is usually necessary to use load balancing technology for optimization , and ensure fault-tolerant configuration. Nginx can not only implement Web Server, but also serve as HTTP load balancing to distribute traffic to back-end application servers to improve performance. The load balancing function of Nginx relies on the ngx_http_upstream_module module. The supported proxy methods are proxy_pass, fastcgi_pass, and memcached_pass.

Nginx commonly used load balancing algorithm:

Polling (default algorithm) - each request will be assigned to different back-end application servers in turn, regardless of the actual pressure on the back-end server

Weighted polling-the server with the greater the weight will be assigned more times, usually used when the performance of the back-end server is inconsistent

IP HASH-when the same IP is used Repeated visits will be assigned to the server visited last time, which can solve the problem of dynamic website SESSION sharing

Here we also recommend downloading source code resources: //m.sbmmt.com /xiazai/learn/1848

This video courseware is shared with everyone:

  1. location analysis process.tif

  2. nginx.ppt

  3. ##Nginx notes.doc

  4. nginx optimization practice.ppt


The above is the detailed content of Yan Shiba Nginx video material recommendation (source code, courseware). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn