You can use Redis as an authoritative store in a number of different ways:
-
Turn on AOF (Append-only File store) see AOF docs. This will keep a log of all Redis commands made against your dataset in real-time.
-
Run Redis using Master-Slave replication see replication docs. This will allow you to provide high-availability if one of your instances fails.
-
If you’re running on something like EC2 you can EBS back your Redis partition to provide another layer of protection against instance failure.
On the horizon is Redis Cluster – this is specifically designed as a way to run Redis in a way that should help with HA and scalability. However, this won’t appear for at least another six months or so.