Reader small image

You're reading from  Learning Redis

Product typeBook
Published inJun 2015
Reading LevelIntermediate
Publisher
ISBN-139781783980123
Edition1st Edition
Languages
Right arrow
Author (1)
Vinoo Das
Vinoo Das
author image
Vinoo Das

Vinoo Das has 16 years of experience in the software industry and has worked in various domains, such as telecom, banking, payment gateways, information management, and so on. He is highly motivated and loves to work on new and upcoming technologies. He is currently architecting a platform for an information technology giant, which will enable the company to position the platform at an enterprise level as well as a cloud solution.
Read more about Vinoo Das

Right arrow

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...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Redis
Published in: Jun 2015Publisher: ISBN-13: 9781783980123

Author (1)

author image
Vinoo Das

Vinoo Das has 16 years of experience in the software industry and has worked in various domains, such as telecom, banking, payment gateways, information management, and so on. He is highly motivated and loves to work on new and upcoming technologies. He is currently architecting a platform for an information technology giant, which will enable the company to position the platform at an enterprise level as well as a cloud solution.
Read more about Vinoo Das