Redis is often misunderstood as just a cache solution, but it is actually a highly performant and scalable distributed data-structure server with advanced NoSQL capabilities. It can be used as a distributed cache, a NoSQL database, or a message broker. Redis offers various persistence options, but there is a trade-off between performance and persistence level. When using Redis as a database, it is important to consider factors such as performance, data durability, data loss impact, data size, and complexity of queries. Redis supports different data structures like strings, lists, sets, sorted sets, and hashes, providing flexibility for data modeling. Overall, choosing Redis as a database depends on the specific requirements and trade-offs of each project.
https://medium.com/wix-engineering/redis-as-a-database-f9df579b09c0