4 ms·
I quite like Redis as a cache or as an ad hoc locking mechanism accessible from across a cluster, but as a database I will never fully trust it. RDB and AOF see
by _hyn3 5y ago
I quite like Redis as a cache or as an ad hoc locking mechanism accessible from across a cluster, but as a database I will never fully trust it. RDB and AOF seem far too fragile to trust in production, especially in a distributed setting.
- echelon 5y ago> RDB and AOF seem far too fragile to trust in production, especially in a distributed setting. Create a replica chain and have your secondaries performing AOF writes. Page on failure. Do an AOF rewrite or RDB dump at a regular cadence, offline, where the forking won't cause you latency.
- jamesfinlayson 5y agoI've only used Redis as a cache and on that front I never had a problem with it.
- thezilch 5y agoCan you expand on what's fragile or what database you do trust? Do you trust your database or filesystem WAL, journaling, and/or vacuum/compaction?