How does Nginx solve the thundering herd effect?

What is the thundering herd effect? When I first heard this term, I thought it was very interesting. I didn’t know what it meant. I always thought it was caused by the strange Chinese translation. Complex said (from the Internet) TLDR; The thundering herd effect refers to when multiple processes (multi-threads) are blocked and waiting […]

[Memo] Install SSL certificate on Nginx server

You can install an SSL certificate on the Nginx or Tengine server to securely access the web server through HTTPS. This article describes how to install an SSL certificate for Nginx or Tengine server. Important This article takes CentOS 8.0 64-bit operating system and Nginx 1.14.2 as examples. Deployment operations may be different for different […]

[Liunx] Deploy WEB service: Nginx

[Liunx] Deploy WEB service: Nginx Overview Nginx 1 Introduction 2.Nginx file path 3.Nginx detailed explanation (1) Install Nginx (2) Start Nginx (3)Access Nginx 4.Nginx configuration file a.nginx.conf (4) Start demonstration: a. Create two new website root directories b. Create two new index.html in the root directories of the two websites respectively. c. Create a new […]

After nginx proxy, get the real IP and do concurrent access restriction (current limiting)

When the site is running, in order to prevent DDoS attacks or data bursts caused by internal interface calls, nginx provides a limit current limiting module: HttpLimitZoneModule limits the number of concurrent accesses at the same time. HttpLimitReqModule limits access to data, up to a few requests per second. 1. Normal configuration: What is a […]

nginx website service (1. Small experiment)

nginx is a high-performance and lightweight web service software that provides static page services, that is, files in plain text format, usually files with the suffix .html or .htm. Features: Average stability (lots of bugs, so updates and iterations are fast) Open source (free), can be repackaged (secondary development) The consumption of system resources is […]

nginx four-layer tcp load balancing and active and standby, four-layer udp load balancing and active and standby, 7-layer http load balancing and active and standby configuration (wndows system active and standby, load balancing)

Preparation Prepare two centos7 computers, virtual machines can also be used Use vmware17 to build centos7 mini version server on windows-CSDN Blog Set up a static IP address (because the network load balancing manager on the Windows server does not support dhcp servers) Modify the network card IP address in ky10, centos7 and other linux […]

Nginx implements load balancing

Table of Contents 1: Introduction to load balancing 2. Functions of load balancing 1. Improve server performance 2. Improve system availability 3. Improve system scalability 4. Achieve traffic balance 3. Example configuration, how to use nginx to achieve load balancing 4. Load balancing policy configuration 1. Poll-based load balancing (default) 2. Weight-based load balancing 3. […]

Monitoring tool: Prometheus monitoring middleware (Nginx, Redis, MySql, etc.)

Our products currently use middleware such as Nginx, Redis, RabbitMQ, MySql, etc. This article introduces how to use Promtheus to monitor these middleware. There is a picture in “Monitoring Tool: Introduction and Installation of Prometheus” that shows the data trend of Prometheus, as follows: As can be seen from the figure, the first step in […]

Use of Nginx in the project

The key to Nginx is reverse proxy and load balancing, which can be set through the configuration file 1. What is Nginx? Nginx (engine x) is a high-performance HTTP and reverse proxy web server that also provides IMAP/POP3/SMTP services. Nginx was developed by Igor Sesoev for Russia’s second most visited Rambler.ru site (Russian: Рамблер). The […]