Tagged articles
round robin
36 articles · Page 1 of 1
This article explains major process scheduling algorithms including FCFS, Round Robin, Priority, SJF, HRRN, multilevel feedback queues, and real-time schedulers, with concrete examples, Gantt charts, turnaround/wait time calculations, and a survey of Linux schedulers from O(n) to CFS and EEVDF.
FCFSHRRNLinux CFS
0 likes · 11 min read

The article defines a time slice (time quantum) as the fixed CPU interval allocated to each ready process in a time‑sharing scheduler, explains its role in round‑robin and CFS algorithms, discusses size trade‑offs, Linux implementation details, context‑switch costs, and typical interview follow‑up questions.
CFSOS schedulingcontext switch
0 likes · 9 min read

The article uses a cafeteria line analogy to introduce CPU scheduling, then systematically explains FCFS, SJF, Round Robin, priority scheduling, and multilevel feedback queues, highlighting their mechanisms, advantages, drawbacks, and real‑world implementations in Windows, Linux, and macOS/iOS.
CPU schedulingFCFSMLFQ
0 likes · 8 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 Connectionsload-balancing
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

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 Nginx's core load‑balancing algorithms—Round Robin, Weighted Round Robin, IP‑Hash, and Least Connections—detailing their working principles, configuration examples, advantages, disadvantages, and ideal use‑cases for building reliable backend services.
IP HashLeast ConnectionsOperations
0 likes · 6 min read

This article explains how to implement a thread‑safe round‑robin load balancer in Java using AtomicInteger, discusses its advantages and limitations, provides sample code for single‑thread and multithreaded scenarios, and suggests further optimizations such as health checks, weighted routing, and dynamic server updates.
BackendConcurrencyJava
0 likes · 11 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.
IP HashLeast Connectionsbackend development
0 likes · 4 min read

This article explains the role of Nginx load balancing, compares common algorithms such as Round Robin, Weighted Round Robin, and IP Hash, and provides a step‑by‑step configuration example with detailed parameter explanations for building a robust backend traffic distribution system.
IP Hashload-balancingnginx
0 likes · 7 min read

This article introduces and details five widely used Nginx load‑balancing algorithms—Round Robin, IP Hash, Least Connections, Weighted, and Weighted Round Robin—explaining their principles, configuration examples, and typical application scenarios for backend services.
IP HashLeast Connectionsbackend development
0 likes · 5 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

The article explains how DNS load balancing enables a single domain name to resolve to multiple IP addresses, describes common DNS resolution strategies such as round‑robin, weighted, and response‑time, and outlines the advantages and limitations of using DNS for load distribution.
DNSNetworkingWeighted DNS
0 likes · 6 min read

This article explains how a single domain can resolve to multiple IP addresses using DNS load‑balancing techniques, outlines common DNS resolution strategies, and discusses the advantages and limitations of DNS‑based load balancing.
DNSMultiple IPWeighted DNS
0 likes · 6 min read

This guide explains how a single domain can be configured with multiple A records to point to different IP addresses, describes common DNS resolution strategies such as round‑robin and weighted routing, and outlines the advantages and limitations of DNS‑based load balancing.
A RecordDNSWeighted DNS
0 likes · 6 min read

The investigation revealed that Elasticsearch RestClient’s built‑in round‑robin and dead‑node blacklisting redirected traffic from failed data‑node addresses—mistakenly included in the static IP list—onto a single client node, causing severe load imbalance and timeouts, which were eliminated after correcting the IP list.
ElasticsearchJava Clientbackend development
0 likes · 17 min read

This article explains common load‑balancing strategies—including round‑robin, random, weighted, smooth weighted round‑robin, consistent hashing, least‑active, and fastest‑response algorithms—provides Java implementations with code samples, discusses their advantages, disadvantages, and suitable scenarios, and offers practical guidance for choosing the right method in distributed systems.
Consistent HashingJavadistributed systems
0 likes · 35 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 demystifies Java ThreadPoolExecutor behavior, showing why non‑core threads may stay alive, how tasks are assigned in a round‑robin fashion, and the exact source‑code mechanisms that determine thread recycling and active‑thread counts.
AQSCore ThreadsNon-Core Threads
0 likes · 14 min read

Learn how to set up basic Nginx load balancing with a minimal nginx.conf, create multiple Node.js services, and explore common strategies like round-robin, weighted round-robin, and IP hash, complete with code examples and testing results to ensure even request distribution.
BackendIP HashNode.js
0 likes · 7 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 how Kafka uses topic partitions to achieve high throughput, discusses the advantages and costs of increasing partition counts, shows how messages are routed to partitions, and compares the built‑in range and round‑robin consumer assignment strategies with practical examples.
Consumerload-balancingpartition
0 likes · 10 min read

This article walks through building a simple Go load balancer using round‑robin distribution, reverse proxy, atomic indexing, health checks, and concurrency‑safe data structures, providing complete code examples and explanations for each component.
backend developmenthealth checkload balancer
0 likes · 12 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

This article explains various load‑balancing methods—including round robin, weighted round robin, least connection, weighted least connection, adaptive agent‑based balancing, fixed weighting, weighted response, and source IP hash—detailing how each algorithm distributes traffic and handles server capacity differences.
least connectionround robinserver traffic distribution
0 likes · 7 min read


21CTOApr 23, 2017 · Backend Development
This article explains load‑balancing concepts and demonstrates Java implementations of several algorithms—including Round Robin, Random, source‑IP hash, weighted round robin, weighted random, and least‑connections—while discussing their advantages, drawbacks, and concurrency considerations.
BackendHashJava
0 likes · 13 min read

This article explains the concept of load balancing and provides Java implementations of several common algorithms—including Round Robin, Random, Source‑IP Hash, Weighted Round Robin, Weighted Random, and a discussion of Least Connections—highlighting their principles, advantages, drawbacks, and concurrency considerations.
BackendHashload-balancing
0 likes · 14 min read


21CTOApr 16, 2017 · Operations
This article explains common load‑balancing strategies—round‑robin, random, minimum response time, minimum concurrency, and hash—detailing their principles, advantages, drawbacks, and mathematical reliability analysis, including probability formulas and visual illustrations to help choose the most fault‑tolerant approach for distributed systems.
distributed systemsload-balancingminimum concurrency
0 likes · 9 min read

The article reviews hardware and software load‑balancing, explains classic strategies such as round‑robin, random, minimum‑response‑time, least‑connections and hash, and quantitatively evaluates their fault‑tolerance using probability formulas and example scenarios in distributed systems.
Least Connectionsdistributed systemsfault tolerance
0 likes · 10 min read

This article explains various load‑balancing scheduling methods—including Round Robin, Weighted Round Robin, Least Connection, Weighted Least Connection, Adaptive Agent‑Based balancing, Fixed Weighted, Weighted Response, and Source IP Hash—detailing how each works, their ideal scenarios, and potential drawbacks.
least connectionnetwork operationsround robin
0 likes · 7 min read


21CTOMar 25, 2016 · Operations
This article examines common load‑balancing algorithms—round‑robin, random, minimum response time, minimum concurrency, and hash—analyzing their fault‑tolerance in distributed clusters, deriving success‑rate formulas, and showing why strategies like minimum concurrency outperform simple methods under node failures.
distributed systemsfault toleranceload-balancing
0 likes · 12 min read

This article explains how Linux Virtual Server (LVS) distributes incoming requests among backend machines, detailing four common scheduling algorithms—simple round‑robin, weighted round‑robin, least‑connections, and weighted least‑connections—along with example code and a visual illustration of request allocation.
LVSLeast ConnectionsScheduling Algorithms
0 likes · 4 min read

This guide outlines the five primary Nginx load‑balancing methods—Round Robin, Least Connections, Least Time (header or last_byte), IP Hash, and generic Hash—explaining how each algorithm works and showing the corresponding upstream configuration syntax for assigning server weights and parameters.
BackendHashLeast Connections
0 likes · 3 min read

This article explains various load‑balancing scheduling algorithms—including Round Robin, Weighted Round Robin, Least Connection, Weighted Least Connection, Adaptive Agent‑Based balancing, Fixed Weighted, Weighted Response, and Source IP Hash—detailing how each distributes traffic and handles server capacity differences.
OperationsScheduling Algorithmsleast connection
0 likes · 7 min read
