3 ms·
Redis does have an option `set appendfsync always` which ensures that every write is written to disk, but as you might expect this drastically impacts performan
by bryceneal 5y ago
Redis does have an option `set appendfsync always` which ensures that every write is written to disk, but as you might expect this drastically impacts performance.
- avidiax 5y agoIt still only syncs every 1 second, IIRC. What you really want is 2 replicas in a shared-nothing environment, and use min-replicas-to-write.
- bryceneal 5y agoI believe you may be confusing `set appendfsync always` which syncs on every write with `set appendfsync everysec` which syncs every second. The latter is more practical for typical redis use-cases and therefore I suspect much more common in the wild.