I am wanting to provide HA to my redis instance by using a single slave with master slave replication. I could write a simple failover logic in openresty/lua. Are there any significant advantages to using Redis Sentinel over writing Redis failover logic in lua code? I see the obvious advantages as being able to install sentinels on multiple nodes to improve accuracy of predicting whether a master is really down or its a network issue...
Would appreciate some insights into this from people who have used either of the above techniques for Redis failover.
Thanks.