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! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Redis Essentials

You're reading from   Redis Essentials Harness the power of Redis to integrate and manage your projects efficiently

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher Packt
ISBN-13 9781784392451
Length 230 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Maxwell Dayvson da Silva Maxwell Dayvson da Silva
Author Profile Icon Maxwell Dayvson da Silva
Maxwell Dayvson da Silva
Arrow right icon
View More author details
Toc

Chapter 9. Redis Cluster and Redis Sentinel (Collective Intelligence)

Redis was initially designed to be very lightweight and fast. Previously, the only topology available for anyone using Redis was master/slave, in which the master receives all the writes and replicates the changes to the slave (or slaves). This happens without any sort of automatic failover or data sharding. This topology works well in many scenarios, such as when:

  • The master has enough memory to store all of the data that you need

  • More slaves can be added to scale reads better or when network bandwidth is a problem (the total read volume is higher than the hardware capability)

  • It is acceptable to stop your application when maintenance is required on the master machine

  • Data redundancy through slaves is enough

But it does not work well in other scenarios, such as when:

  • The dataset is bigger than the available memory in the master Redis instance

  • A given application cannot be stopped when there are issues with the master instance...

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 $15.99/month. Cancel anytime
Visually different images