Tagged articles
virtual nodes
25 articles · Page 1 of 1
This article explains why naive modulo-based routing fails in distributed Go services, introduces the stable and scalable concept of consistent hashing, walks through a basic implementation, shows how virtual nodes improve balance, and outlines common use cases and pitfalls for production systems.
golangvirtual nodes
0 likes · 10 min read

This article details a comprehensive sharding strategy for a high‑traffic message table, explaining why early partitioning is essential, how to design language‑based vertical shards combined with hash‑based horizontal shards, calculate table counts and virtual nodes, and execute a zero‑downtime migration using dual‑writes and gradual traffic rollout.
Horizontal PartitioningMySQLSharding
0 likes · 16 min read

The article details the consistent hashing algorithm, describing how a hash ring and virtual nodes distribute keys across servers, minimize data movement during node changes, compare it with simple modulo hashing, and outline typical use cases such as load balancing, distributed caches, storage systems, and database sharding.
Consistent HashingDistributed Cachinghash ring
0 likes · 10 min read

Consistent hashing, a cornerstone of distributed systems, balances load, enhances scalability, and minimizes data migration; this article explains its fundamentals, the drawbacks of basic implementations, the role of virtual nodes, and provides a complete Go-language example with code for adding, removing, and locating nodes.
Consistent Hashingdistributed systemsload-balancing
0 likes · 11 min read

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.
Consistent HashingDistributed CachingSharding
0 likes · 6 min read


NewBeeNLPApr 26, 2024 · Artificial Intelligence
This article reviews the paper “Distinguished in Uniform: Self-Attention vs. Virtual Nodes,” comparing graph Transformers and MPGNNs with virtual nodes on theoretical consistency and experimental performance, revealing that neither approach universally dominates the other.
Graph Neural NetworksMPGNNSelf-Attention
0 likes · 9 min read

This article explains how to use Alibaba Cloud Container Service (ACK) virtual nodes and Elastic Container Instances (ECI) to achieve second‑scale elasticity, covering installation, ResourcePolicy configuration, zone‑aware scheduling, high‑availability setups, and performance results with concrete YAML examples.
ECIKubernetesResourcePolicy
0 likes · 12 min read

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.
Consistent Hashinghash ringload-balancing
0 likes · 10 min read

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.
AlgorithmConsistent Hashingdistributed cache
0 likes · 20 min read

Zuoyebang’s shift to cloud‑native architecture leveraged Alibaba Cloud’s Kubernetes Serverless virtual nodes, achieving a 22.5% cost reduction during peak traffic by dynamically scaling workloads, while addressing scheduling, observability, and performance challenges through custom schedulers, enhanced monitoring, and careful testing.
Cost OptimizationKubernetescloud-native
0 likes · 11 min read

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.
CacheConsistent Hashingdistributed systems
0 likes · 11 min read

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.
AlgorithmCachingConsistent Hashing
0 likes · 27 min read

This article explains the principles of consistent hashing, compares it with simple modulo hashing, and shows how the hash ring, virtual nodes, and key mapping improve load balancing, minimize data loss during node changes, and prevent cache avalanche in distributed caching systems.
Consistent HashingDistributed Cachingvirtual nodes
0 likes · 12 min read


JD TechJan 20, 2022 · Backend Development
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 HashDubbohash algorithm
0 likes · 14 min read

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

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.
Consistent Hashingdistributed systemshashing
0 likes · 9 min read

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.
DHTData SkewDistributed Hash Table
0 likes · 9 min read


ITPUBAug 18, 2020 · Backend Development
This article experimentally validates consistent hashing by adding and removing nodes in a 5‑node cluster, reveals key distribution imbalance and avalanche risks, and proposes solutions such as node scaling and virtual node virtualization, complete with Python code examples and detailed analysis.
Consistent HashingNode Scalingkey distribution
0 likes · 19 min read


ITPUBAug 18, 2020 · Backend Development
This article experimentally validates consistent hashing by adding and removing nodes in a simulated cluster, examines key redistribution, reveals load‑imbalance and avalanche vulnerabilities, and proposes solutions such as virtual nodes and adaptive replica factors, providing Python code examples and detailed observations.
Consistent HashingPythonload-balancing
0 likes · 17 min read

This article explains the fundamentals of hash functions, outlines the key characteristics of a good hash algorithm, and dives deep into consistent hashing—its background, mechanism, desirable properties, fault tolerance, scalability, and the use of virtual nodes to solve data skew in distributed systems.
Consistent Hashingdistributed systemshashing
0 likes · 12 min read

Consistent hashing, introduced by MIT in 1997, addresses hotspot issues in distributed systems by ensuring balance, monotonicity, spread, and load properties, using a ring hash space, virtual nodes, and minimal data movement when nodes are added or removed.
Consistent Hashingdistributed systemsload-balancing
0 likes · 10 min read

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.
Consistent HashingHash Slotdistributed cache
0 likes · 21 min read

This article uses a classic distributed caching scenario to explain consistent hashing, detailing its principles, advantages, challenges like cache avalanche, and solutions such as virtual nodes, while illustrating each step with clear diagrams and examples.
Consistent HashingDistributed Cachingcache avalanche
0 likes · 14 min read

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.
Consistent Hashingdistributed systemsload-balancing
0 likes · 9 min read

This article explains the principles of consistent hashing, its classic design with virtual nodes, the shortcomings of the original algorithm, and how Amazon's Dynamo and other extensions improve load balancing and reduce data movement in distributed environments.
Consistent HashingDynamoload-balancing
0 likes · 6 min read
