Tag

virtual nodes

0 views collected around this technical thread.

Lobster Programming
Lobster Programming
Jun 11, 2024 · Fundamentals

Why Consistent Hashing Matters: Solving Cache Distribution and Scaling Issues

Consistent hashing replaces simple modulo‑based distribution to efficiently locate cached data across changing numbers of servers, using a hash ring and virtual nodes to ensure balanced load, minimize data movement, and improve reliability in distributed caching, load balancing, and database sharding scenarios.

Load BalancingShardingconsistent hashing
0 likes · 6 min read
Why Consistent Hashing Matters: Solving Cache Distribution and Scaling Issues
Architect's Guide
Architect's Guide
Jun 26, 2023 · Fundamentals

Consistent Hashing Algorithm: Principles, Virtual Nodes, and Practical Applications

This article explains the consistent hashing algorithm, its hash‑ring model, how it overcomes the limitations of simple modulo hashing in distributed caches, the role of virtual nodes for load balancing, and common use cases such as memcached, Redis clusters, and load‑balancing routers.

Load Balancingcachingconsistent hashing
0 likes · 10 min read
Consistent Hashing Algorithm: Principles, Virtual Nodes, and Practical Applications
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Backend Development

Consistent Hashing Algorithm: Principles, Java Implementation, and Optimizations for Distributed Cache Load Balancing

This article explains the fundamentals of consistent hashing, its application in load‑balancing distributed caches, analyzes common issues such as data skew and cache avalanche, introduces virtual nodes for uniform distribution, provides Java code examples, and compares it with Redis's HashSlot approach.

JavaLoad Balancingalgorithm
0 likes · 20 min read
Consistent Hashing Algorithm: Principles, Java Implementation, and Optimizations for Distributed Cache Load Balancing
IT Services Circle
IT Services Circle
Mar 25, 2022 · Fundamentals

Consistent Hashing Algorithm: Principles, Advantages, and Applications

Consistent hashing maps both servers and keys onto a virtual hash ring, allowing keys to be assigned to the nearest clockwise server, which minimizes data movement during node addition or removal, improves load distribution with virtual nodes, and is widely used in distributed caching and load balancing systems.

CacheLoad Balancingconsistent hashing
0 likes · 11 min read
Consistent Hashing Algorithm: Principles, Advantages, and Applications
Tencent Cloud Developer
Tencent Cloud Developer
Mar 14, 2022 · Backend Development

Consistent Hashing Algorithm: Theory, Go Implementation, and Load-Balanced Extension

The article explains consistent hashing—using a circular 2^32 hash ring with virtual nodes to evenly distribute keys across dynamic cache servers—provides a complete Go implementation including host registration, key lookup, and a bounded‑load extension that tracks server load, demonstrates a proxy‑cache setup, and discusses practical testing and production‑grade enhancements.

Load Balancingalgorithmcaching
0 likes · 27 min read
Consistent Hashing Algorithm: Theory, Go Implementation, and Load-Balanced Extension
JD Tech
JD Tech
Jan 20, 2022 · Backend Development

Consistent Hash Algorithm and Its Application in Dubbo Load Balancing

This article explains the principles of consistent hashing, its data‑skew issue, how virtual nodes mitigate that problem, and demonstrates the implementation and usage of ConsistentHashLoadBalance in Dubbo with detailed code analysis and practical load‑balancing examples.

Consistent HashDubboJava
0 likes · 14 min read
Consistent Hash Algorithm and Its Application in Dubbo Load Balancing
Tencent Cloud Developer
Tencent Cloud Developer
Dec 8, 2021 · Cloud Native

Using Tencent Cloud EKS Virtual Nodes to Solve CronJob Isolation and Scheduling Challenges

By offloading thousands of short‑lived CronJob pods to Tencent Cloud EKS serverless virtual nodes, Zuoyebang isolated them from online services, eliminated IP waste, achieved millisecond‑level parallel scheduling and sub‑3‑second startup, freed 10 % of cluster resources and cut scheduling costs by roughly 70 % while markedly improving cluster stability.

CronJobKubernetescloud native
0 likes · 10 min read
Using Tencent Cloud EKS Virtual Nodes to Solve CronJob Isolation and Scheduling Challenges
Laravel Tech Community
Laravel Tech Community
May 9, 2021 · Backend Development

Understanding Consistent Hashing: From Simple Modulo Hash to Optimizations

This article explains the drawbacks of a basic modulo hash algorithm for key distribution, demonstrates how consistent hashing resolves scaling and node‑failure issues, and discusses virtual‑node techniques to mitigate data skew and improve load balancing in distributed cache systems.

consistent hashingdata skewdistributed caching
0 likes · 5 min read
Understanding Consistent Hashing: From Simple Modulo Hash to Optimizations
Wukong Talks Architecture
Wukong Talks Architecture
Feb 2, 2021 · Fundamentals

Consistent Hashing Explained Through the Tale of Han Xin’s Soldier Allocation

The article uses a historical story to illustrate basic hash‑based partitioning, its shortcomings when nodes change, and then introduces consistent hashing, hash rings, and virtual nodes as solutions for balanced load distribution and minimal data migration in distributed systems.

HashingLoad Balancingbackend
0 likes · 9 min read
Consistent Hashing Explained Through the Tale of Han Xin’s Soldier Allocation
vivo Internet Technology
vivo Internet Technology
Nov 11, 2020 · Big Data

Understanding Distributed Hash Tables (DHT) and Their Improvements

The article explains how Distributed Hash Tables replace simple modulo hashing with a ring‑based scheme, demonstrates severe data skew in basic implementations, and shows that adding multiple virtual nodes plus a load‑boundary factor dramatically balances storage and request distribution across cluster nodes.

Big DataDHTDistributed Hash Table
0 likes · 9 min read
Understanding Distributed Hash Tables (DHT) and Their Improvements
Top Architect
Top Architect
Apr 27, 2020 · Backend Development

Consistent Hashing: Principles, Optimizations, Graceful Scaling and Comparison with Redis HashSlot

This article explains the concept of consistent hashing, its application in distributed cache load balancing, analyzes issues like data skew and cache avalanche, presents virtual‑node optimizations with Java test code, discusses graceful scaling strategies, and compares it to Redis’s HashSlot and P2P approaches.

Hash SlotLoad BalancingRedis
0 likes · 21 min read
Consistent Hashing: Principles, Optimizations, Graceful Scaling and Comparison with Redis HashSlot
vivo Internet Technology
vivo Internet Technology
Nov 19, 2019 · Backend Development

Data Distribution Algorithms: Modulo and Consistent Hash Implementations in Java

The article introduces a Java HashNodeService interface and demonstrates two data distribution algorithms—simple modulo hashing, which evenly spreads keys but remaps them heavily when nodes change, and consistent hashing with optional virtual nodes, which maintains balanced placement and high cache‑hit rates despite topology adjustments.

Consistent HashJavaLoad Balancing
0 likes · 14 min read
Data Distribution Algorithms: Modulo and Consistent Hash Implementations in Java
Qunar Tech Salon
Qunar Tech Salon
Dec 29, 2014 · Backend Development

Consistent Hashing: Principles, Monotonicity, and Virtual Nodes

This article explains the consistent hashing algorithm, its motivation in cache systems, the concept of monotonicity, the step‑by‑step mapping process, and how virtual nodes improve balance and resilience when cache servers are added or removed.

CacheLoad Balancingconsistent hashing
0 likes · 9 min read
Consistent Hashing: Principles, Monotonicity, and Virtual Nodes