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

This pattern of cluster is created for applications where read and writes are very frequent and the state across the nodes needs to be the same at any given point in time.

From a nonfunctional requirement perspective, following behaviors can be seen in a master-master setup:

Cluster pattern – master-master

Getters and setters in master–master cluster pattern

Performance

The performance for reads and writes are very high in this kind of setup. Since the requests are load balanced across the master nodes, the individual load on a master reduces, thus resulting in better performance. As Redis inherently does not have this capability, this has to be provided ...

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