Master-slave data replication
In any business application, it is paramount that data is kept in a replicated manner since hardware can break at any time without giving any warning. In order to have continuance of the business, it becomes necessary that when the master database goes down, the replicated database can be used instead, which in a way guarantees quality of service. Another advantage of having replicated data is realized when the traffic on one database goes up and it negatively impacts the performance of the solution. In order to provide the performance, it is important to load balance the traffic and reduce the load on each node.
Datastores such as Cassandra provide master-master configuration where all the nodes in the topology are like masters and the replication of data takes place based on token hash generated on the basis of key, and for that to happen nodes in the topology are partitioned based on token ranges.
Redis, unlike master-master breed of datastores, has a simpler...