4 ms·
Caching is a funny thing. Just like anything you need to understand if and why you need it. And one other thing is you should be able to fall back if your cach
by mannyv 2y ago
Caching is a funny thing. Just like anything you need to understand if and why you need it.
And one other thing is you should be able to fall back if your cache is invalidated.
In our case we keep a bunch of metadata in redis that’s relatively expensive (in cost and speed) to pull/walk in realtime. And it needs to be fast and support lots of clients. The latter sort of obviates direct-to-database options.