Redis Cluster is the native sharding implementation available within Redis that allows you to automatically distribute your data across multiple nodes without having to rely on external tools and utilities. At ScaleGrid, we recently added support for Redis Clusters on our platform through our fully managed Redis hosting plans. In this post, we’re going to introduce you to the advanced Redis Cluster sharding opportunities, discuss its advantages and limitations, when you should deploy, and how to connect to your Redis Cluster.
Sharding with Redis Cluster
The entire keyspace in Redis Clusters is divided in 16384 slots (called hash slots) and these slots are assigned to multiple Redis nodes. A given key is mapped to one of these slots, and the hash slot for a key is computed as:
HASH_SLOT = CRC16(key) mod 16384
Multi-key operations are supported on Redis Clusters as long as all the keys involved in a single command execution belong to the same hash slot. This can be ensured using the concept of hash tags.
The Redis Cluster Specification is the definitive guide to understanding the internals of the technology, while the Redis Cluster Tutorial provides deployment and administration guidelines.
Advantages
Check out the top advantages of Redis Clusters to see how it can benefit your deployments:
High Performance
Redis Cluster promises the same level of performance as standalone Redis deployments.
High Availability
Redis Cluster …
MOST COMMENTED
News
How Security Tokens Could Change Liquidity and Transform the World’s Economy
News
Social Engineering Attacks by the Numbers: Prevalence, Costs, & Impact
News
How AI is Keeping Us Safe From Drivers Who Use Their Mobile Phones at the Wheel
News
Prospects and Challenges of Applying Big Data in Education
News
The Power of AI in Social Media
News
Using Predictive Analytics to Assess the ROI of a Startup
News
Fighting Back Against Phishing: A Workplace Concern