Nginx Configuration Developers Need to Know: Load Balancing, Health Checks, and Rate Limiting Explained

Nginx Configuration Developers Need to Know: Load Balancing, Health Checks, and Rate Limiting Explained

In high-concurrency, distributed systems, Nginx is not only a reverse proxy but also the first line of defense for service stability. Recently, while working with a client on high availability tests, I discovered that some functions could be perfectly handled using Nginx configurations. 📌 This article applies to Nginx Open Source (non-Plus), and all configurations have been verified in production environments. 1. Choosing a Load Balancing Strategy Nginx’s upstream module supports various load balancing algorithms. Choosing a reasonable one can significantly improve system stability and resource utilization. ...

December 4, 2025 · 2 min · 835 words · Allen
Application of Token Bucket Rate Limiting Algorithm in Scanners

Application of Token Bucket Rate Limiting Algorithm in Scanners

In cybersecurity testing and information gathering, operations such as port scanning, directory scanning, and vulnerability detection often require sending a large number of requests to the target. Without reasonable rate limiting control, it will not only lead to excessive occupation of network bandwidth and system resources but may also trigger firewall/IDS detection and blocking. To balance efficiency and stealth, rate limiting mechanisms are particularly important. Among them, Token Bucket is a common rate limiting algorithm, often used for traffic limiting at gateways, but it can also be used in scanners. ...

August 29, 2025 · 1 min · 484 words · allen