3 ms·
You can configure redis to flush to disk on write operations though you lose on performance.
by abhishekjha 3y ago
You can configure redis to flush to disk on write operations though you lose on performance.
- leetrout 3y agoThat is not comparable to writes completing after they are flushed to disk.
- NavinF 3y ago>appendfsync always: fsync every time new commands are appended to the AOF. Very very slow, very safe. Note that the commands are appended to the AOF after a batch of commands from multiple clients or a pipeline are executed, so it means a single write and a single fsync (before sending the replies). https://redis.io/docs/management/persistence/ https://redis.io/docs/management/persistence/ It's very slow, but if you really want to wait for fsync before replying, it can do that.
- leetrout 3y agoI was unaware they could make that guarantee. Thanks for the correction.