4 ms·
Redis can be persisted with RDB and AOF, can also be replicated to another machine. In the cloud, you don't need to worry about that, hosted Redis are ready to
by daviesliu 6y ago
Redis can be persisted with RDB and AOF, can also be replicated to another machine. In the cloud, you don't need to worry about that, hosted Redis are ready to use.
The is an ongoing effort [1] to improve the persistency and availability in general, which is expected to be GA in 2021.
[1] https://github.com/RedisLabs/redisraft https://github.com/RedisLabs/redisraft
- ozkatz 6y agogiven a lost write to Redis would translate to corruption or missing data at the filesystem level, the only "safe" way to run this ATM is using Redis' extremely inefficient "always fsync" setting for its AOF log [1]. Keep in mind that Elasticache does not support it (in general, it doesn't really support running Redis in a durable way). [1] https://redis.io/topics/persistence#:~:text=The%20suggested%20(and%20default)%20policy,perform%20a%20single%20fsync%20operation https://redis.io/topics/persistence#:~:text=The%20suggested%....
- Labo333 6y agoThanks! I really have trouble to trust in memory databases that require 100% uptime. What happens with a power outage?
- daviesliu 6y agoAs mentioned in other place, the perfect solution would be adding Raft to redis [1]. [1] https://github.com/RedisLabs/redisraft https://github.com/RedisLabs/redisraft