Ankush
Ankush

Reputation: 827

Redis Configuration

I am contemplating using Redis in my app, and my basic usage needs are high availability, eventual consistency and fast reads/ writes.

My usage pattern is something like:

My concerns:

Any input is welcome!

Upvotes: 1

Views: 675

Answers (2)

Tom Clarkson
Tom Clarkson

Reputation: 16174

There will always be a single master accepting writes. However, if your client can detect that the master has failed it is easy enough to promote one of the slaves - just send SLAVEOF NONE to the first slave node before writing.

You will need to update the other slave nodes to use the new master, but you can reduce the impact of this by chaining nodes rather than having all the slaves connected to a single master.

Upvotes: 1

Joshua Martell
Joshua Martell

Reputation: 7202

If fault tolerance is a primary concern for you, you might look at Riak.

Upvotes: 0

Related Questions