Skip to content

kangyijie5473/Redis_Cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is my tools and demo in Redis

First tool --> redis_cluster_without_mind.sh

A simple shell script about start redis-cluster quickly. 第一个小工具,无脑一键配置redis-cluster

How to use

default master ports are 7000 7001 7002

 $ chmod u+x redis_cluster_without_mind.sh
 $./redis_cluster_without_mind.sh 192.168.30.109 master

default slave ports are 7003 7004 7005

 $ chmod u+x redis_cluster_without_mind.sh
 $./redis_cluster_without_mind.sh 192.168.30.109 slave

First demo with Python

A demo about operate redis-cluster using redis-py-cluster

Second demo with Python --> auto-recovery.py

A daemon using "grep" "ps" to judge node's state.
If node is down , make it recovery automatically.

About

My tools and demo using Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published