GitHunt
CH

christonrinaldy/local-redis-cluster

Redis Cluster Setup: Automate creation of clustered Redis instances on your local PC for scalable and highly available distributed data storage.

Local Redis Cluster

Redis Cluster Setup: Automate creation of clustered Redis instances for scalable and highly available distributed data storage.

Prerequisites

  • Make sure you have Docker installed and running on your local PC.

How to Use

  1. Run the script from the project's root directory: ./start.sh <start_port> <end_port> [...args]

Available Arguments

  • --create-container=false (boolean, default: false)

Example

  • ./start.sh 6379 6384 --create-container=true

Notes

  • To establish a Redis cluster, at least 6 Redis instances are required.
  • Make sure the difference between end_port and start_port is at least 5.

alt text

alt text

alt text

alt text

Languages

Shell100.0%

Contributors

Created May 7, 2024
Updated May 16, 2024