Our microservices often need fast and relatively local data storage. Redis is a popular in-memory key/value store, with numerous features. It’s a popular choice for developers because it’s easy to hook to our applications for solving the data storage designs.
These next steps provide an ideal place to learn how to install and connect to a Redis application on Kubernetes.
In this lab, you will learn how to:
☐ Install a small Redis cluster
☐ Install Redis with a Kubernetes Operator
☐ Manage Redis using declarations to the operator
☐ Access Redis from another application in the cluster
Redis is an open-source, in-memory data store used by millions of developers as a database, cache, streaming engine, and message broker.
Redis includes these core capabilities:
Capability | Purpose |
---|---|
In-memory data structures | Well-known as a “data structure server”, with support for strings, hashes, lists, sets, sorted sets, streams, and more. |
Programmability | Server-side scripting with Lua and server-side stored procedures with Redis Functions. |
Extensibility | A module API for building custom extensions to Redis in C, C++, and Rust. |
Persistence | Keeps the dataset in memory for fast access, but can also persist all writes to permanent storage to survive reboots and system failures. |
Clustering | Horizontal scalability with hash-based sharding, scaling to millions of nodes with automatic re-partitioning when growing the cluster. |
High availability | Replication with automatic failover for both standalone and clustered deployments. |
Intermediate
30 minutes
12 Jul, 2022