2 ms·
There are only two hard things in computer science: naming things, cache invalidation, and off-by-one errors. I'm trying to never implement any caching if I ca
by Cthulhu_ 6y ago
There are only two hard things in computer science: naming things, cache invalidation, and off-by-one errors.
I'm trying to never implement any caching if I can help it. The database itself does caching already as well.
And if you DO need caching, keep your hands off of the application; add a cache layer in front, or between the application and the database. But don't invent it yourself.
- bernawil 6y agoAnd if you DO need caching, keep your hands off of the application; add a cache layer in front, or between the application and the database. But don't invent it yourself. so, redis?