Re:How FoundationDB works and why it works
by abhishekjha on Monday September 18, 2023 @02:26AM
(#37552905)
You can configure redis to flush to disk on write operations though you lose on performance.
[ Parent
| on HN ]
Re:How FoundationDB works and why it works
by leetrout on Monday September 18, 2023 @02:53AM
(#37553090)
That is not comparable to writes completing after they are flushed to disk.
Re:How FoundationDB works and why it works
by NavinF on Monday September 18, 2023 @03:18AM
(#37553268)
>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/
It's very slow, but if you really want to wait for fsync before replying, it can do that.