Tagged articles
weighted round-robin
18 articles · Page 1 of 1

Niu LiuSep 21, 2026 · Backend Development
The article analyzes priority messaging in message middleware, comparing implementations across RocketMQ, RabbitMQ, Kafka, and Pulsar, and details techniques like weighted round-robin scheduling, resource reservation, and wait aging to ensure urgent tasks get priority without starving ordinary tasks, including practical code patterns for fair task scheduling.
KafkaPulsarRabbitMQ
0 likes · 10 min read

The article explains Nginx’s core load‑balancing mechanisms, detailing four primary scheduling algorithms—Round Robin, Weighted Round Robin, IP Hash, and Least Connections—along with their advantages, drawbacks, and suitable scenarios, illustrated with diagrams and example configurations.
IP HashLeast ConnectionsNginx
0 likes · 5 min read

This article explains four core load‑balancing algorithms—Round Robin, Weighted Round Robin, Random, and Least Connections—detailing their principles, advantages, drawbacks, and typical scenarios where each method best fits modern backend systems.
Least Connectionsbackend algorithmsload balancing
0 likes · 7 min read

A seasoned ops engineer recounts a production incident caused by improper Nginx load‑balancing, then compares weighted round‑robin and IP‑hash strategies with detailed configurations, performance test results, common pitfalls, dynamic weight scripts, and practical recommendations for reliable, high‑performance deployments.
IP HashNginxload balancing
0 likes · 10 min read

Load balancing distributes network traffic across multiple servers to prevent overload, and this article breaks down six essential scheduling strategies—Round Robin, Random, Least Connections, Weighted Round Robin, IP Hash, and Least Response Time—detailing their mechanisms, ideal use cases, and implementation considerations.
IP HashLeast Connectionsleast response time
0 likes · 3 min read

This article explains how to handle downstream API rate limits that differ per platform by interleaving requests with a weighted round‑robin algorithm, shows the pitfalls of simple sleep‑based throttling, and provides complete Java code for a practical implementation.
AlgorithmJavarate limiting
0 likes · 11 min read

An experienced ops engineer shares a production incident caused by mis‑chosen Nginx load‑balancing, compares Weighted Round‑Robin and IP‑Hash in depth, presents a week‑long stress test, offers best‑practice configurations, common pitfalls, performance‑tuning tips, and actionable recommendations for reliable traffic distribution.
IP HashNginxload balancing
0 likes · 9 min read

This article provides an in‑depth overview of Nginx as a high‑performance load‑balancing middleware, explaining its core concepts, configuration syntax, and the four main balancing algorithms—Round Robin, Weighted Round Robin, IP Hash, and Least Connections—along with practical code examples.
Backend DevelopmentIP HashLeast Connections
0 likes · 4 min read

This article explains the role of load balancing in distributed systems and details five common strategies—Round Robin, Weighted Round Robin, IP Hash, Least Connections, and Least Response Time—highlighting their mechanisms, advantages, drawbacks, and suitable scenarios for optimal system performance.
IP HashLeast Connectionsleast response time
0 likes · 9 min read

This article walks through implementing three load‑balancing algorithms (random, round‑robin, weighted round‑robin) in Go, explains the weighted selection math with step‑by‑step examples, and presents two service‑liveness solutions—heartbeat via Docker/Kafka and HTTP health checks—complete with code snippets and deployment commands.
DockerGoKafka
0 likes · 9 min read

This article reviews common load balancing strategies—including round-robin, random, weighted, smooth weighted round-robin, consistent hashing, least-active and optimal-response algorithms—explains their advantages and drawbacks, and provides complete Java code examples for each method.
AlgorithmsConsistent HashingJava
0 likes · 33 min read

This article explains Nginx’s basic round‑robin and weighted round‑robin load‑balancing algorithms, compares their characteristics, and provides complete Go implementations—including configuration snippets, core structs, and test code—to help developers integrate efficient request distribution into their backend services.
golanground robinweighted round-robin
0 likes · 10 min read

This article explains how Nginx performs round‑robin and weighted‑round‑robin load balancing, shows the underlying algorithms, and provides complete Go implementations with configuration examples, code snippets, and test outputs for both basic and weighted scenarios.
Backendgolanground robin
0 likes · 11 min read

This article explains three common round‑robin scheduling algorithms—simple, weighted, and smooth weighted—detailing their logic, step‑by‑step execution, PHP implementation, and the trade‑offs of each approach in distributed systems.
AlgorithmPHPround robin
0 likes · 9 min read

This article explains Nginx's five load‑balancing methods, focusing on the weighted round‑robin algorithm, its basic and smooth variants, provides code examples, step‑by‑step execution, and a mathematical proof of why the smooth version distributes traffic fairly according to server weights.
AlgorithmNginxload balancing
0 likes · 8 min read

This article introduces the concept of load balancing as a key high‑availability technique, explains five common strategies—round robin, weighted round robin, least connections, fastest response, and hash—provides code examples, compares their pros and cons, and outlines health‑check methods to ensure reliable service.
HashLeast Connectionshealth check
0 likes · 10 min read


21CTOApr 23, 2016 · Backend Development
This article examines nginx’s built‑in and extended load‑balancing algorithms—including weighted round‑robin, IP hash, fair, generic hash and consistent hash—by dissecting source code, describing implementation details, and presenting comparative performance tests that evaluate balance, consistency and fault‑tolerance across various scenarios.
IP HashNginxload balancing
0 likes · 13 min read

This article examines Nginx's built‑in and third‑party load‑balancing algorithms—including weighted round robin, IP hash, fair, generic hash, and consistent hash—by dissecting their source code and presenting comparative performance tests across multiple scenarios to reveal their strengths and trade‑offs.
BackendIP Hashload balancing
0 likes · 14 min read
