durable caching w redis and postgresql
Yazgul Tursynbayeva
·11930 views
ive been thinking about how to implement a caching layer thats more resilient to failures tho were currently using redis for caching but im concerned about data loss if a redis node goes down before data is written to our primary postgresql database has anyone implemented a system where redis acts as a cache but also has a mechanism for durable writes perhaps even a two-phase commit with postgresql or a different pattern entirely looking for real-world experience or clever solutions here
28 comments