Session track
Devops
Experience level
Expert
Duration
30 min
Redis is an in-memory data structure store that can be used as a distributed cache, as a NoSQL database, and even as a message broker.
Unlike Memcached, which is considered its predecessor, Redis offers built-in master/slave replication.
In this presentation, we will have a look at this replication feature, and figure out how we can leverage this from a high availability point of view.
Questions we will answer:
- How do you set up master/slave replication?
- How do you split read and write traffic across our master and slave nodes?
- How do you monitor the health of Redis servers?
- How do you perform automatic failover and failback?
- How do you loadbalance traffic to multiple Redis servers?
- How does replication compare to actual clustering in Redis?
The tools we will use to achieve high availability: