Tagged articles
45 articles
Page 1 of 1
Raymond Ops
Raymond Ops
Sep 1, 2025 · Operations

Mastering Keepalived: A Complete Guide to VRRP‑Based High Availability with LVS

This tutorial explains how Keepalived provides targeted high‑availability for LVS clusters by implementing VRRP, details its architecture, walks through installation, configuration of VRRP and virtual servers, shows health‑check scripts, and demonstrates testing of fail‑over and load‑balancing behavior.

IPVSLVSLinux
0 likes · 16 min read
Mastering Keepalived: A Complete Guide to VRRP‑Based High Availability with LVS
Raymond Ops
Raymond Ops
Jul 11, 2025 · Operations

Mastering Keepalived: Complete Guide to High‑Availability Load Balancing

This tutorial explains Keepalived’s VRRP‑based failover, IPVS rule generation, health‑checking, script integration, installation methods, detailed configuration files, notification handling, logging, brain‑split prevention, and VRRP scripting for building robust high‑availability clusters on Linux.

IPVSVRRPhigh availability
0 likes · 26 min read
Mastering Keepalived: Complete Guide to High‑Availability Load Balancing
Raymond Ops
Raymond Ops
Feb 5, 2025 · Operations

Mastering IPVS: Build High‑Performance Load Balancers with LVS

This article explains the concept of IPVS (IP Virtual Server) as a layer‑4 load balancer, compares ipvs with iptables, details LVS scheduling algorithms, and provides step‑by‑step commands for configuring ipvsadm on both load‑balancer and real‑server nodes, including VIP setup and client testing.

IPVSLVSLinux networking
0 likes · 9 min read
Mastering IPVS: Build High‑Performance Load Balancers with LVS
Liangxu Linux
Liangxu Linux
Aug 3, 2024 · Operations

Build a Highly Available Web Cluster with LVS and Keepalived on CentOS

This guide explains how to create a high‑availability web load‑balancing cluster using Linux Virtual Server (LVS) and Keepalived on CentOS, covering background, terminology, environment setup, detailed configuration steps for master and backup nodes, real‑server preparation, HA testing, and final conclusions.

CentOSIPVSLVS
0 likes · 12 min read
Build a Highly Available Web Cluster with LVS and Keepalived on CentOS
MaGe Linux Operations
MaGe Linux Operations
Jun 2, 2023 · Cloud Native

Why kube-proxy Causes Traffic Imbalance and How to Fix It in Kubernetes

This article explains why kube-proxy’s default iptables load-balancing can cause traffic imbalance during rolling updates, round-robin scheduling, and autoscaling, compares ipvs with iptables, and offers practical best-practice recommendations such as using source-hash scheduling and layer-7 proxies to achieve more even load distribution in Kubernetes clusters.

IPVSkube-proxytraffic imbalance
0 likes · 5 min read
Why kube-proxy Causes Traffic Imbalance and How to Fix It in Kubernetes
ITPUB
ITPUB
Jul 3, 2022 · Operations

How Keepalived Achieves High‑Availability Load Balancing with LVS and VRRP

This article explains Keepalived’s high‑availability architecture, detailing its integration with LVS/IPVS, VRRP‑based master election, configuration parameters like state, priority, nopreempt, and weight, and how traffic is forwarded and balanced across real servers using various scheduling algorithms.

IPVSLVSVRRP
0 likes · 15 min read
How Keepalived Achieves High‑Availability Load Balancing with LVS and VRRP
Open Source Linux
Open Source Linux
Jun 1, 2022 · Cloud Native

How Does Kubernetes Really Handle Container Networking? A Deep Dive

This article explains Kubernetes' network model, covering container‑to‑container, pod‑to‑pod, pod‑to‑service, and external traffic flows, while detailing network namespaces, veth pairs, Linux bridges, iptables/IPVS load‑balancing, and cloud‑native solutions like LoadBalancer and Ingress controllers.

IPVSIngressKubernetes
0 likes · 22 min read
How Does Kubernetes Really Handle Container Networking? A Deep Dive
Open Source Linux
Open Source Linux
Feb 21, 2022 · Operations

Mastering LVS: From Basics to MySQL High Availability with Keepalived

This article provides a comprehensive guide to Linux Virtual Server (LVS), covering its history, four operating modes, scheduling algorithms, installation steps, MySQL load‑balancing configuration, ARP suppression techniques, and high‑availability setup using keepalived, all illustrated with diagrams and code snippets.

IPVSLVSLinux
0 likes · 23 min read
Mastering LVS: From Basics to MySQL High Availability with Keepalived
Open Source Linux
Open Source Linux
Jul 15, 2021 · Backend Development

How Kernel-Level Content-Based Load Balancing Boosts Server Performance

This article explains the principles and implementation of content‑based request distribution in Linux IPVS and the kernel‑mode KTCPVS, covering TCP gateway vs. migration, scheduling algorithms, high‑availability mechanisms, and performance benefits such as improved cache hit rates and scalability.

IPVSKTCPVSNetworking
0 likes · 23 min read
How Kernel-Level Content-Based Load Balancing Boosts Server Performance
Open Source Linux
Open Source Linux
Jul 12, 2021 · Operations

Mastering Dynamic Feedback Load Balancing in Linux IPVS: Algorithms & Implementation

This article explores the IPVS kernel load‑balancing mechanisms, detailing ten built‑in connection scheduling algorithms, introducing a dynamic‑feedback load‑balancing strategy that adjusts server weights based on real‑time metrics, and explains how to compute aggregate load and weight adjustments to achieve optimal scalability and transparency.

IPVSLinuxScheduling Algorithms
0 likes · 16 min read
Mastering Dynamic Feedback Load Balancing in Linux IPVS: Algorithms & Implementation
Qu Tech
Qu Tech
Dec 31, 2020 · Cloud Native

Kubernetes IPVS Estimation Timer: Root Cause of Network Jitter and Livepatch Fix

A production Kubernetes cluster experienced intermittent network jitter caused by the IPVS estimation_timer soft‑interrupt, and the article details how BPF tracing, perf analysis, and a kpatch live‑patch were used to identify and eliminate the latency without rebooting the nodes.

BPFIPVSKubernetes
0 likes · 22 min read
Kubernetes IPVS Estimation Timer: Root Cause of Network Jitter and Livepatch Fix
Cloud Native Technology Community
Cloud Native Technology Community
Jul 1, 2020 · Cloud Native

Boosting Kubernetes Service Performance: Inside Tencent’s IPVS‑BPF Optimization

This article examines the limitations of traditional Kubernetes Service implementations, introduces Tencent TKE’s IPVS‑BPF mode that bypasses nf_conntrack using eBPF for SNAT, details its design and implementation steps, and presents extensive performance measurements showing significant latency and throughput improvements.

Cloud NativeIPVSKubernetes
0 likes · 12 min read
Boosting Kubernetes Service Performance: Inside Tencent’s IPVS‑BPF Optimization
Cloud Native Technology Community
Cloud Native Technology Community
Dec 16, 2019 · Cloud Native

Why Does Rolling Update Trigger “No Route to Host” in Kubernetes?

A Kubernetes user reported intermittent “No route to host” errors during Deployment rolling updates, and this article analyzes common connection‑related errors, explains how IPVS weight handling and source‑port reuse cause the issue, and provides mitigation strategies such as preStop hooks, readiness probes, scaling, and anti‑affinity.

IPVSKubernetesRolling Update
0 likes · 15 min read
Why Does Rolling Update Trigger “No Route to Host” in Kubernetes?
360 Tech Engineering
360 Tech Engineering
Oct 10, 2019 · Cloud Native

Source Code Analysis of kube-proxy IPVS Mode in Kubernetes

This article provides a detailed source‑code walkthrough of Kubernetes' kube‑proxy IPVS load‑balancing mode, explaining the command‑line setup with cobra, the internal ProxyServer and Proxier structures, the BoundedFrequencyRunner, ServiceConfig handling, and the core syncProxyRules function that generates IPVS, iptables and ipset rules.

GoIPVSKubernetes
0 likes · 14 min read
Source Code Analysis of kube-proxy IPVS Mode in Kubernetes
MaGe Linux Operations
MaGe Linux Operations
Apr 8, 2019 · Operations

Mastering Load Balancing: From HTTP Redirects to LVS DR & TUN

This article explains the principles, advantages, and limitations of various load‑balancing techniques—including HTTP redirection, DNS‑based balancing, reverse‑proxy, LVS‑NAT, LVS‑DR, and LVS‑TUN—while providing practical Linux commands and configuration examples for building scalable systems.

DNSIPVSLVS
0 likes · 14 min read
Mastering Load Balancing: From HTTP Redirects to LVS DR & TUN
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 5, 2017 · Operations

Mastering Load Balancing: HTTP Redirect, DNS, Reverse Proxy, and LVS Techniques

This article explains the concept of load balancing beyond simple equal distribution, comparing HTTP redirection, DNS‑based balancing, reverse‑proxy methods, and various Linux Virtual Server (LVS) approaches—including NAT, direct routing, and IP tunneling—highlighting their mechanisms, advantages, limitations, and practical configuration commands.

DNSIPVSnetwork operations
0 likes · 16 min read
Mastering Load Balancing: HTTP Redirect, DNS, Reverse Proxy, and LVS Techniques
ITPUB
ITPUB
Apr 19, 2017 · Operations

Load Balancing Deep Dive: HTTP Redirects, DNS, Reverse Proxy, and LVS Techniques

This article explains the concept of load balancing, compares HTTP redirection, DNS‑based balancing, reverse‑proxy methods, and Linux Virtual Server techniques (LVS‑NAT, LVS‑DR, LVS‑TUN), detailing their mechanisms, performance trade‑offs, configuration commands, and practical deployment considerations for scalable server infrastructures.

DNSIPVSLVS
0 likes · 16 min read
Load Balancing Deep Dive: HTTP Redirects, DNS, Reverse Proxy, and LVS Techniques
ITPUB
ITPUB
Apr 18, 2017 · Operations

Mastering Load Balancing: From HTTP Redirects to LVS IP Tunneling

This article explains various load‑balancing techniques—including HTTP redirects, DNS‑based balancing, reverse‑proxy solutions, and Linux Virtual Server methods (LVS‑NAT, LVS‑DR, LVS‑TUN)—detailing their principles, advantages, limitations, and practical configuration commands.

DNSIPVSLVS
0 likes · 15 min read
Mastering Load Balancing: From HTTP Redirects to LVS IP Tunneling
21CTO
21CTO
Jun 18, 2016 · Operations

How LVS Load Balancer Distributes Traffic: Deep Dive into DR, NAT, and TUN Modes

This article explains the architecture of Linux Virtual Server (LVS) load balancers, detailing the roles of the Director server, Real servers, shared storage, and the three primary IPVS scheduling modes—DR, NAT/FULL NAT, and TUN—including their mechanisms, advantages, and configuration considerations.

DR ModeIPVSLVS
0 likes · 14 min read
How LVS Load Balancer Distributes Traffic: Deep Dive into DR, NAT, and TUN Modes
Practical DevOps Architecture
Practical DevOps Architecture
Jun 13, 2016 · Operations

Three LVS Load‑Balancing Modes and Eight Scheduling Algorithms

The article explains the three LVS load‑balancing modes—NAT, IP tunnel, and direct routing—and details eight scheduling algorithms, including round‑robin, weighted round‑robin, least‑connection, weighted least‑connection, locality‑based, locality‑based with replication, destination‑hashing, and source‑hashing, highlighting their principles and use cases.

IPVSLVSNetworking
0 likes · 7 min read
Three LVS Load‑Balancing Modes and Eight Scheduling Algorithms
Java High-Performance Architecture
Java High-Performance Architecture
Sep 25, 2015 · Operations

Understanding Load Balancing: HTTP Redirects, Reverse Proxies, IP & DNS Methods

Load balancing distributes traffic across multiple servers using techniques such as HTTP redirects, reverse‑proxy (layer‑7) routing, IP‑based (layer‑4) balancing, and DNS round‑robin, each with distinct advantages and drawbacks regarding performance, scalability, configuration complexity, and fault tolerance.

Application LayerDNSIPVS
0 likes · 5 min read
Understanding Load Balancing: HTTP Redirects, Reverse Proxies, IP & DNS Methods