The answer to this question is one of the reasons I like Redis so much. It's not one thing, it's many things!
I've used it for a "dumb" cache (key => bytes), a "smart" cache (key => data structure), a message queue, a pub/sub engine, and even a lock manager.
For many of these use cases it's the best, for others, it's more than good enough and not having to add additional infrastructure components to a system is always a plus.
The answer to this question is one of the reasons I like Redis so much. It's not one thing, it's many things!
I've used it for a "dumb" cache (key => bytes), a "smart" cache (key => data structure), a message queue, a pub/sub engine, and even a lock manager.
For many of these use cases it's the best, for others, it's more than good enough and not having to add additional infrastructure components to a system is always a plus.