3 ms·
You mean RDB? I thought AOF can be configured to fsync at every write.
by elvinyung 9y ago
You mean RDB? I thought AOF can be configured to fsync at every write.
- koolba 9y agoThe default is to fsync once per second so the failure window is small but it's not zero. It's possible to fsync on every write[1] but it may be too slow as the single threaded nature of Redis means you've serialized every write operation. Plus that'd apply to all usage of that Redis server, not just the queue. [1]: https://redis.io/topics/persistence#how-durable-is-the-append-only-file https://redis.io/topics/persistence#how-durable-is-the-appen...