2 ms·
We've found that Redis works great for counting some things, but when you need a count which is guaranteed to match what is in a db table, it's preferable to ma
by rowanseymour 10y ago
We've found that Redis works great for counting some things, but when you need a count which is guaranteed to match what is in a db table, it's preferable to manage counts at a db level. Often we're making counts based on the state of a record, and it's easy for the application level view of things to end up stale.