Posts

Showing posts from March, 2019

Deep dive into Redis Clustering

Image
In this article, I will be talking about how Redis manages its storage in a distributed storage concept  and how it handles failover and utilize performance.  What is Redis? Redis(Remote Dictionary Service) is,   - An open source(BSD licensed )   - NoSQL database server   - In-memory data structure store(Keeps data in cache)   - An advanced key-value store(Redis keeps data as key-value pairs )   - Supports data structures such as strings, hashes, lists, sets and sorted sets. Redis Clustering Redis Clustering provides a consistent and resilient data service where data is automatically sharded (Partitions data) across multiple Redis nodes (Automatically split your dataset among multiple nodes). And it provides a master/slave setup for enhance availability in case of a failure. How Redis manages its storage in a distributed storage concept 1. Redis Cluster Topology -  Minimal cluster that works as expected requires to contain at least 3 master