Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Redis

You're reading from   Learning Redis Design efficient web and business solutions with Redis

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781783980123
Length 318 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Vinoo Das Vinoo Das
Author Profile Icon Vinoo Das
Vinoo Das
Arrow right icon
View More author details
Toc

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime