Replication Redis

0 like 0 dislike
3 views
Doing another startup which used the radish, now closely was the question of building a failover database cluster.
As you know, radish supports only master-slave replication. It is necessary that at falling of the master some of Slavov would take a wizard function. For this purpose I found the following solution: github.com/fictorial/redis-cluster-monitor. In the fall of the master, this monetarily chooses a new master and sends a signal synchronization with the other servers. Task — to notify the frontends that the master server has changed. Going to finish monitoringu that she had sent notices and frontends. Address of the master server will probably be stored locally in a file.

How many correct this approach? Anyone had experience building such systems, what is usually done, what are the pitfalls?
by | 3 views

1 Answer

0 like 0 dislike
I know that Redis supports master-master replica almost from the very first versions.
Ready-made solutions for clustering, I have not seen. We use master-master (within one node) and failover at the level of the frontend.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
asked Mar 26, 2019 by modestguy
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Mar 25, 2019 by esc
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
2,836 users