3 ms·
Redis is either used as pub sub / message queue but also often it is used for caching similar to memcached.
by richardknop 9y ago
Redis is either used as pub sub / message queue but also often it is used for caching similar to memcached.
- thehardsphere 9y agoCaching does not have the same expectations for persistance that a database has. If data in Redis gets blown away, I don't really care. If data in my RDBMS or NoSQLDB gets blown away, it's a huge problem.
- richardknop 9y agoYes, I agree. Most people I know would use RDBMS such as Postgres to store bulk of business data (customer accounts, transactions, receipts etc) and then use complementary systems for other purposes (so could be Memcache/Redis for caching, ElasticSearch for logs etc). It's not a false dichotomy of using either Postgres or Redis, you can use them alongside each other, they have different uses.