Redis is an in-memory key-value store used for caching, fast lookups, and temporary data storage. It’s often used in repositories to speed up data access or reduce load on the primary database.
sudo apt update
sudo apt install redis-server -y
sudo systemctl enable redis-server
sudo systemctl start redis-server
redis-cliSET mykey "Hello Redis"
GET mykeydocker pull redis
docker run --name my-redis -p 6379:6379 -d redis- Test with Redis CLI (inside the container or another terminal):
docker exec -it my-redis redis-cli
SET mykey "Hello Docker Redis"
GET mykey
https://github.com/tporadowski/redis/releases
| Level | Skills/Focus | Key Topics |
|---|---|---|
| Beginner | Setup, CLI, data types | Strings, Lists, Hashes, TTL |
| Intermediate | Integration, caching, Pub/Sub | Spring Redis, transactions, caching strategies |
| Advanced | Complex data structures, persistence | Sorted Sets, Streams, Lua, Sentinel |
| Expert | Scaling, security, monitoring | Clusters, ACL, benchmarking, TLS |
| Master | Real-world systems, architecture | High-availability, microservices, disaster recovery |