Kubernetes and StatefulSets are not limited or even geared toward relational data stores. Non-relational (also known as NoSQL) data stores are very useful for many use cases. One of the most versatile and popular in-memory data stores is Redis. Let's get to know Redis and examine how to migrate the Delinkcious news service to use Redis instead of storing events in ephemeral memory.
Using non-relational data stores in Kubernetes
An introduction to Redis
Redis is often described as a data structure server. Since it keeps the entire data store in memory, it can perform many advanced operations on the data efficiently. The price you pay, of course, is that you have to keep all of the data in memory. This is possible only...