Enabling and Configuring TCP/UDP Proxying with the Nginx Stream Module

Verifying Stream Module Support The Nginx Stream module operates at Layer 4 (TCP/UDP), allowing for efficient traffic forwarding and load balancing outside of the standard HTTP context. Before attempting configuration, verify if your Nginx binary includes the module by executing the following command: nginx -V 2>&1 | grep --color -- '--w ...

Posted on Thu, 06 Aug 2026 16:40:34 +0000 by jbingman

:"Nginx Configuration Patterns for High-Performance Web Services"

Core Concepts and Architecture Nginx is a high-performance HTTP server and reverse proxy developed by Igor Sysoev. It efficiently handles concurrent connections and serves as a reliable alternative to traditional web servers under heavy load. Beyond web serving, it functions as an IMAP/POP3/SMTP proxy, making it a versatile tool for modern infr ...

Posted on Sat, 01 Aug 2026 16:07:38 +0000 by mezise

Building a High-Availability Load Balancer with HAProxy and Keepalived

Environment Overview 1.1 System Requirements This guide covers the deployment of a high-availability load balancing solution using HAProxy and Keepalived on CentOS 6.8 64-bit. The solution ensures that client requests are distributed across backend servers while providing automatic failover capability when the primary load balancer becomes u ...

Posted on Wed, 29 Jul 2026 17:09:52 +0000 by rotarypot

Forward and Reverse Proxy Patterns with Load Distribution

Forward Proxy Architecture A forward proxy acts as an intermediary for client devices seeking to access external resources. Positioned between internal users and destination servers, this architecture prevents direct communication between the client and target endpoints. Operational Mechanics: The proxy server receives outbound requests from i ...

Posted on Wed, 29 Jul 2026 16:59:30 +0000 by adammc

Implementing Client-Side Load Balancing with Spring Cloud Ribbon

To facilitate communication between microservices, such as an Order Management system retrieving details from an Inventory system, client-side load balancing is essential. Spring Cloud Ribbon provides this capability seamlessly when integrated with Spring's RestTemplate. Project Configuration Begin by initializing the order management module. T ...

Posted on Sun, 19 Jul 2026 16:30:11 +0000 by Collin

Configuring MyCAT Cluster with Dual Masters and Dual Slaves

Prerequisites For MySQL master-slave setup, refer to: MySQL master-slave setup guide For MyCAT installation, refer to: Installing MyCAT 2 Network and Service Configuration IP/Port Service Role 8066 mycat Proxy 3307 master Primary 3308 slave Replica 3309 master01 Standby 3310 slave01 Replica Creating Database Users On master, ...

Posted on Fri, 03 Jul 2026 17:15:52 +0000 by gintjack

Linux Infrastructure Architecture Overview for Small-Medium Websites

Components of a Small-Medium Scale Website Architecture Customers/Users Visitors accessing the website Security Guard - Firewall (firewalld) Implements access control policies Receptionist - Load Balancer (nginx) Schedules and distributes incoming user requests Waiter - Web Server (nginx) Processes user requests Chef - Database Server ...

Posted on Wed, 24 Jun 2026 16:36:56 +0000 by nmohamm

Exploring Adaptive Load Balancing: A Deep Dive into Dubbo's P2C Algorithm

Today we're going to explore an interesting load balancing algorithm from Dubbo's source code. While I encountered this in Dubbo's implementation, it's not exclusive to Dubbo—it's a general algorithm concept. You can find Go implementations in go-zero as well. The official documentation provides two diagrams illustrating these strategies. When ...

Posted on Sat, 16 May 2026 21:20:25 +0000 by jib0

Setting Up an Nginx Reverse Proxy Load Balancing Cluster on CentOS 7

Three CentOS 7 virtual machines are used to build a basic Nginx reverse proxy load balancing cluster: 192.168.2.76: Nginx load balancer 192.168.2.82: Web server (web01) 192.168.2.78: Web server (web02) Install Nginx on All Nodes Install required dependencies: yum -y install openssl openssl-devel pcre pcre-devel gcc wget Create the installati ...

Posted on Sun, 10 May 2026 00:00:43 +0000 by Grim...

Nginx Load-Balancing Algorithms and Reverse-Proxy Best Practices

Enviroment Role IP Address LB 10.240.35.55 web1 10.240.35.56 web2 10.240.35.57 web3 10.240.35.58 Basic Round-Robin Load-Balancer upstream backend_pool { server 10.240.35.56:80; server 10.240.35.57:80; server 10.240.35.58:80; } server { listen 80; server_name www.demo.com; location / { proxy_pass ...

Posted on Sat, 09 May 2026 23:02:59 +0000 by bbristow