I went into this expecting Redis's appendfsync everysec setting to lose roughly a second of writes if the process died mid-stream, because that is what the documentation says to expect. Across three separate crash tests, it lost nothing. Figuring out why took me somewhere more interesting than the number itself: a close look at what "the process died" actually means, and how different that is from what the docs are describing.
That sent me down a longer road than one setting. I ended up measuring what it costs to turn Redis's append-only log on while an instance is already serving writes, what the fsync policy you pick does to it under load, and what each option actually gets you back when something goes wrong. I ran Redis 7.0.15 (the version Ubuntu 24.04 ships) on a single machine, in its own data directory, talking only to my own benchmark clients.β¦