In this comprehensive course, you'll put together the skills learned to build and maintain a Redis-based backend system. You will get hands-on with managing user data with expiration, implementing sorted set leaderboards, handling transactions with pipelines, utilizing Redis streams for event logging, and implementing pub/sub for notifications using Java and Jedis.
Overview
Syllabus
- Unit 1: Managing User Data with Expiration in Redis Using Java and Jedis
- Implement the addUser Function
- Retrieving User Data from Redis
- Update Expiration Time
- Extend User Data Expiration
- Unit 2: Using Sorted Sets to Create Dynamic Leaderboards in Redis
- Implementing the addScore method
- Retrieve the Top N Users
- Getting User Rank and ScoreRetrieve the Top N Users
- Unit 3: Handling Transactions with Pipelines in Redis
- Handling User Data with Pipelines
- Using Pipelines for Transactions Handling
- Computing Leaderboard Statistics Using Redis Pipelines
- Unit 4: Utilizing Redis Streams for Event Logging
- Check to Avoid Duplicate Users
- Implementing User Activity Logging with Streams
- Utilizing Redis Streams to Log User Activities
- Unit 5: Implementing Pub/Sub for Notifications in Redis
- Publish Messages to a Channel
- Handle Incoming Messages with Pub/Sub
- Handling Tic-Tac-Toe Notifications