Using Redis Stack as a Primary Database
In the previous chapters, we have covered most of the topics that concern software architects and engineers at the time of mapping the business logic of an application to the concrete physical data model using Redis. As a professional used to working with relational databases or document stores, you have learned to make the most of Redis using the core data structures and discovered the features delivered in Redis Stack, such as enhanced searches and queries, and working with JSON documents. Modeling entities and relationships with the traditional Hashes or the standard JSON format together with the ability to create indexes on different fields of documents stored in such formats shifts Redis from the realm of caches to that of database management systems (DBMSs).
Redis has long been used as a cache, and the original design encouraged such use, offering real-time performance and a predictable footprint, with efficient expiration and eviction...