3 ms·
> I didn't come up with the solution of having a SPOF redis node with a full key scan every 10 minutes acting as an intermediate data store before transferring
by dijit 6y ago
> I didn't come up with the solution of having a SPOF redis node with a full key scan every 10 minutes acting as an intermediate data store before transferring to postgres.
Obviously that is bad architecture smell.
But if you didn't already know; redis supports high availability through "sentinel"[0].
[0]: https://medium.com/@amila922/redis-sentinel-high-availability-everything-you-need-to-know-from-dev-to-prod-complete-guide-deb198e70ea6#:~:text=Redis%20sentinel%20is%20the%20high,mode%20without%20any%20human%20intervention https://medium.com/@amila922/redis-sentinel-high-availabilit....
- zbentley 6y agoSentinel smears the SPOF out into a redundant (but still memory-backed) system. Backups mitigate the risk of data loss further. AOF can also be used but may cancel out the performance gains. ...and none of those change the fundamental durability/performance tradeoff of the system, nor do they replace a proper scaling strategy for an RDBMS.