In this comprehensive guide, you will integrate the skills acquired to develop and manage a Redis-based backend system. This involves practical experience with managing user data with expiration, creating sorted set leaderboards, executing transactions using pipelines, leveraging Redis streams for event logging, and implementing pub/sub for notifications.
Overview
Syllabus
- Unit 1: Data Management with Expiration in C#
- Add User Data to Redis in C#
- Retrieve User Data from Redis in C#
- Modify AddUser Function to Include TTL Parameter
- Extend Expiration Time of User Data in Redis
- Unit 2: Building Leaderboards with C# Collections
- Implementing Leaderboard with Redis in C#
- Retrieve Top N Users from Leaderboard
- Get User Rank and Score from Leaderboard in C#
- Unit 3: Handling Transactions with Pipelines
- Use Redis Pipelines for User Data and Scores Management
- Enhancing Transaction Handling with Redis Pipelines in C#
- Handling Transactions with Optional Pipelines in C#
- Unit 4: Utilizing Redis Streams for Event Logging
- Skip Adding Existing Users to the Database
- User Activity Stream with Redis in C#
- Implementing Stream Reading in C#
- Unit 5: Implementing Pub/Sub for Notifications in C#
- Publishing Messages to Redis Channel in C#
- Handling Incoming Messages in a Redis PubSub System
- Enhance Message Handler for Tic-Tac-Toe Game