The modern web requires blazing fast performance for acquiring and retaining customers. The always on and agile architecture needs more than one tool to solve a problem. Most web applications use Postgres or MySQL databases and these may not be able to scale beyond a particular threshold. They are also not the best solution for caching or session management.
Redis is an in-memory data structure store, used as a database, cache and message broker. It supports various data structures such as Strings, Hashes, Lists, Sets etc. When you need to serve your customers at scale then Redis can be used as a caching mechanism or it can handle sessions. Major Use cases for Redis:
- Full Page Cache
- Session Storage
Importance of Redis: