4 ms·
Isn't that just writing to disk every n seconds? Even if n is 1, data will be lost.
by enitihas 6y ago
Isn't that just writing to disk every n seconds? Even if n is 1, data will be lost.
- manigandham 6y agoRedis has RDB (snapshots) and AOF (append log) with configurable fsync policies. You can also use replication to avoid a single server failure. https://redis.io/topics/persistence https://redis.io/topics/persistence
- yesbabyyes 6y agoYou can configure Redis for different persistence strategies. The default is to sync every second, but you can sync on every write. The chapter on Redis persistence is, like Redis documentation in general, quite readable and informative. https://redis.io/topics/persistence https://redis.io/topics/persistence