Skip to main content

Posts

Showing posts from September, 2016

Hash tagging Redis keys in a clustered environment

CodeProject Hello folks, In this post, we'll talk a little bit about Redis cluster. Limitations of Redis cluster. How we can overcome the limitations of redis cluster. Redis cluster is a distributed implementation of Redis with three major goals: High performance and linear scalability upto 1000 nodes. Acceptable degree of write safety. Availability: Redis cluster is able to survive partitions where the majority of the master nodes are reachable and there is at least one reachable slave for every master node that is no longer reachable. As an example, let's take a look at the following cluster configuration with six nodes. Node A (master node) Node B (master node) Node C (master node) Node D (slave of master node A) Node E (slave of master node B) Node F (slave of master node C) Now at this point, a natural question may arise, "When I write to a Redis key, how a node is picked up to store that key or what are the factors that decide which node to sto