Nginx Configuration and Management Guide
Nginx Basics
1. Common Commands
nginx -v # Show version
ps -ef | grep nginx # List nginx processes
nginx # Start nginx
nginx -s reload # Reload configuration
nginx -s stop # Stop nginx
nginx -t # Test configuration f ...
Posted on Wed, 22 Jul 2026 16:27:50 +0000 by slayer22
Using MySQL Proxy for Read-Write Splitting
MySQL Proxy is an official middleware solution from MySQL that provides load balancing, read-write splitting, and failover capabilities. It acts as a connection pool between the application and the data base servers, forwarding frontend requests to the appropriate backend databases. By using Lua scripts, it can implement complex connection cont ...
Posted on Wed, 22 Jul 2026 16:03:06 +0000 by Nixon
Eureka Service Registration and Discovery
Currrent Project Architecture Issues
Introducing Eureka
In a typical project, the member center is often deployed as a cluster to handle high concurrency and large loads. For instance, if the member center runs on a single host that can only handle 10,000 requests, many concurrent requests would overwhelm it. By using a cluster (multiple serve ...
Posted on Tue, 21 Jul 2026 16:04:28 +0000 by whitepony6767
LVS Load Balancing: NAT and DR Mode Implementation
Introduction to LVS
LVS (Linux Virtual Server) is an open-source project initiated by Wensong Zhang, primarily designed to achieve load balancing at the Linux kernel level. It enables the creation of a high-availability, high-performance server cluster by distributing client requests among backend servers according to load balancing algorith ...
Posted on Mon, 20 Jul 2026 17:40:42 +0000 by soulroll
Dynamic Programming Solutions for Three Algorithmic Problems
Ehab and the Expected GCD Problem
The key insight is that the first element should have the maximum number of prime factors, and subsequent elements should remove at most one prime factor per step for optimality. The smallest prime factors are 2 and 3, and using 3 more than once is suboptimal (e.g., 5 can be replaced by 2² for better results). ...
Posted on Fri, 17 Jul 2026 17:02:09 +0000 by RossC0
Introduction to Nginx – Summary of Learning
Introduction to Nginx
Main Functions: Reverse Proxy, Load Balancing, Static/Dynamic Separation
Installlation and startup of Nginx
Common commands for Nginx, navigate to /usr/local/nginx/sbin
./nginx -- start Nginx
./nginx -s stop -- stop Nginx
./nginx -s quit -- graceful shut down Nginx
./nginx -s reload -- reload configuration, useful after ...
Posted on Mon, 06 Jul 2026 17:26:27 +0000 by thebluebus
Building a High Availability Cluster with HAProxy and Keepalived
Setting up a highly available load balancing cluster requires two primary components: HAProxy for traffic distribution and Keepalived for failover management. This setup uses two virtual machines running CentOS 7.Environment PreparationInstall the EPEL repository and required packages on both nodes:yum install -y epel-release
yum install -y hap ...
Posted on Sat, 27 Jun 2026 16:14:40 +0000 by xenoalien
Deploying an EMQX Cluster with HAProxy Load Balancing
Prerequisites
Dowlnoad the required installation packgaes and upload them to your servers.
Prepare three CentOS 7 virtual machines or physical servers.
Configuring the EMQX Cluster
On each of the three nodes, navigate to the etc directory inside the extracted EMQX folder and edit emqx.conf:
cluster.discovery = static
cluster.static.seeds = em ...
Posted on Fri, 26 Jun 2026 16:45:21 +0000 by Fly
Nginx Installation and Reverse Proxy Configuration
Nginx Overview
Nginx is a high-performance HTTP server and reverse proxy known for low memory usage and strong concurrency support. It serves static content efficiently and handles dynamic content via CGI protocols like Perl and PHP, but requires Tomcat for Java applications. Optimized for high-load environments, Nginx supports up to 50,000 con ...
Posted on Mon, 22 Jun 2026 17:47:34 +0000 by dscapuano
Firewall Configuration: Dual-Hot Standby and Bandwidth Management
This experiment builds upon previous firewall configurations, expanding functionality with dual-hot standby setup and bandwidth control. For foundational knowledge, refer to prior articles covering NAT and intelligent routing, as well as security policies.
Experiment Overview
DMZ servers accessible only during office hours (9:00–18:00) by the ...
Posted on Sat, 20 Jun 2026 16:26:06 +0000 by Carth