I am looking for confirmation of my approach and pointers if I missed something.
My application has two redis connection multiplexers, one for redis instances and one for sentries.
At startup, I connect to a known signaling address and request it for the masters, then request it for the followers.
Then I create a connection of “servers” using these discovered servers and subscribe to the channels + master switch and + advanced-slave channels on the sentinel server.
If the even signal comes from any of these channels, I will return to the detection process discussed above, replacing the connecting multiplexers.
Now, am I reinventing some of the features that SE.Redis already cares about, or is there something I missed?
Thank!
source
share