Explore the fundamental skills you need to know to get started with Redis, the highly popular, open-source, in-memory database.
Overview
Syllabus
Introduction
- Understanding Redis
- Installing Redis
- Overview of the terminal CLI
- Understanding Redis docs
- What is Redis?
- Data types
- Your first command: SET
- Testing GET
- Playing around with strings
- What are hashes?
- Writing and reading from hashes
- Exploring hashes
- Introduction to lists
- Understanding the pop and push mechanics
- Practical example: Building a queuing system with lists
- Adding people to the queue
- Getting people out of the queue
- Checking who's there
- Putting someone in the middle
- Checking who's the last one in the queue
- Analyzing the solution: Problems with repeated members
- Sets compared to lists
- Running a queuing example using sets
- Explaining what a sorted set is
- Leader board example using a sorted set
- Comparing Redis to relational databases
- Relating keys to each other
- Representing multi-key models
- What else can you do with Redis?
- Exploring Pub/Sub
- Exploring streams: Adding data
- Exploring streams: Reading data
- Example: Real-time message bus using Pub/Sub
- Introduction to key-space notifications
- Practical example: Building a session timeout feature
- Resolution
- Explanation overview
- What's missing for a production-ready architecture?
- An introduction to Redis Cluster
- An introduction to Redis Sentinel
- How to learn more about Redis
Taught by
Emmanuel Henri