In this course, you'll build and maintain a Redis-based backend system. You will manage user data with expiration, implement sorted set leaderboards, handle transactions with pipelines, utilize Redis streams for event logging, and implement pub/sub for notifications.
Overview
Syllabus
- Unit 1: Managing User Data with Expiration
- Add User Data to Redis
- Retrieving User Data from Redis
- Adding Custom Expiration Time to User Data
- Extending Expiration Time for User Data
- Unit 2: Using Sorted Sets for Leaderboards
- Implementing Leaderboard with Redis
- Retrieving Top N Users from Leaderboard
- Implementing User Rank and Score Retrieval
- Unit 3: Handling Commands with Pipelines
- Using Pipelines for User Data and Leaderboards
- Unit 4: Utilizing Redis Streams for Event Logging in PHP
- Checking User Existence Before Adding to Redis
- Creating a User Activity Stream with Redis in PHP
- Reading Entries from a Redis Stream in PHP
- Unit 5: Implementing Pub/Sub for Notifications in PHP Using Redis
- Publishing Messages to a Redis Channel in PHP
- Handling Incoming Messages with Redis Pub/Sub in PHP