3 ms·
You can surely use Redis as a caching solution, but if your data fits in memory you can use it as a full featured and absolutely safe database: 1) with AOF you
by antirez 15y ago
You can surely use Redis as a caching solution, but if your data fits in memory you can use it as a full featured and absolutely safe database:
1) with AOF you have innodb-level durability.
2) with replication you can do your HA setups.
3) RDB files are self-contained files holding all the dataset that can be copied and backed-up while Redis is running.
4) with the upcoming cluster you can have fault tolerance without too much problems, but for this there is to wait this fall.
- alnayyir 15y agoIs AOF the preferred persistence method than I take it? After seeing some pain that is required to resuscitate Redis from the persisted files if it goes down, I was wary of relying on that persistence. I'm pretty excited about the cluster functionality. At my current company sadly I'm working with big data so I can't really use Redis as a main backing store, but it's always in my head for personal projects.