3 ms·
What I get from this is that Redis is so powerful that its best to not use it as a simple read-cache where the database is still the cannonical source. Its bet
by true_religion 15y ago
What I get from this is that Redis is so powerful that its best to not use it as a simple read-cache where the database is still the cannonical source.
Its better to use it as the write-cache for complex datasets with the database being the backup.
- Periodic 15y agoRight. I believe we already have plenty of read-caches out there. Our web servers can implement them, we have Varnish and MemCache and ~100 others. What Redis appears to do great is that it is much more than just a key-value store with CRUD operations. You can model sets, lists, queues, counters, and do complex operations on these in-memory values. It looks to me like it is best thought of as providing an interface to data-structures that are well optimized and persist across requests.