|
|
|
|
|
by seiji
4487 days ago
|
|
I am not convinced you know what you're doing I feel you've read the aphyr writings, but didn't follow the story through to the end. He wasn't testing the systems entirely as they were designed to be used. Sentinel is just a Redis-aware consensus driven failover service. Instead of writing your own "if master is unreachable, promote replica to master" script, Sentinel will do that for you and at the same time notify all your clients to switch to the new master. It's kinda nice that way. Redis Cluster has very specific use cases. Not every distributed software doodad should be used in any situation we can imagine. Things have design goals. Used the right way, you get happy times. Used the wrong way, you get grumpy cat. |
|
But its consensus algorithm is broken to the point where it will lose half of your recent data any time an election happens (much like MongoDB).
> Redis Cluster has very specific use cases.
What are those? It's neither CP nor AP apparently. What guarantees does it make?