3 ms·
Practical experience! Traditional db def wont be faster than Redis. (at least not in my experience) But what I'm saying is traditional db also often won't be
by bedobi 5y ago
Practical experience!
Traditional db def wont be faster than Redis. (at least not in my experience)
But what I'm saying is traditional db also often won't be meaningfully slower than Redis either, even for key -> value lookup where Redis shines.
Overwhelmingly, when I need to store and retrieve anything, I reach for traditional dbs first by default, unless there's good reason to use some other technology. If and when load starts to become a problem, tweaking the settings, adding more read replicas etc is often enough. But if it's not, it's always perfectly possible and simple enough to add Redis on top. I feel like that gives you the most bang for your buck and the best of both worlds. But YMMV!