O'Reilly logo

Learning Redis by Vinoo Das

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cluster pattern – master-slave

This pattern of cluster is created for applications where reads are very frequent and writes are less frequent. Another condition necessary for this pattern to work is to have a limited size of data, or in other words, data capacity that can fit into the hardware provisioned for the master (the same hardware configuration is needed for the slaves too). Since the requirement is to cater to frequent reads, this pattern also has the capability to scale horizontally. Another point we have to keep in mind is that replication in slaves can have a time delay which can result in stale data getting served. The business requirement should be okay with that scenario.

The solution for this pattern would be to have all the writes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required