Vishal Khare
1 min readMar 22, 2020

--

Hey Amit Madabhavi,

When you create a cluster, you tell it what will be the replication factor.
Refer — https://medium.com/@iamvishalkhare/create-a-redis-cluster-faa89c5a6bb4
In this. Replication factor is 1 which means all slots being saved in a master node will have 1 replica in another slave node.
You can increase replication factor depending on how critical your data is to the application.
Talking about how will your code react to it. Refer — https://medium.com/@iamvishalkhare/connecting-to-redis-cluster-using-java-python-clients-a7c4fa8a4a17

Jedis is configured in such a way that it is intelligent in terms of knowing which node is up and which is not.

--

--

Vishal Khare
Vishal Khare

Written by Vishal Khare

Engineering manager at TATA 1mg || Google Cloud Certified Cloud Engineer

No responses yet