Configure fallback redis server

Posted by snøreven on Server Fault See other posts from Server Fault or by snøreven
Published on 2012-11-26T16:22:56Z Indexed on 2012/11/26 17:07 UTC
Read the original article Hit count: 242

Filed under:
|
|

I am using redis as a cache server. Can I somehow configure multiple redis servers, that the cache is fully functional (read/write) even if some of them go offline?

I looked into master->slave, but the problem I see there is, that if the master fails, and I allow writes to the slaves, they get overwritten once the master is up again. Now the master just serves the old data.

The only solution I could come up was disabling write-to-disc, but that sucks as I loose everything if I have to restart the master. And I guess, slaves wouldn't be synced anymore if the master is gone.

© Server Fault or respective owner

Related posts about redundancy

Related posts about redis