Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Implementing a Redis-based Backend System with Node.js

via CodeSignal

Overview

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.

Syllabus

  • Unit 1: Managing User Data with Expiration
    • Adding User Data to Redis
    • Retrieving User Data from Redis
    • Modify addUser to Accept Custom Expiration Time
    • Extend Expiration Time of User Data Using Redis
  • Unit 2: Using Sorted Sets for Leaderboards
    • Implementing Leaderboard Score Function
    • Retrieve Top N Users from Leaderboard
    • Get User Rank and Score from Leaderboard
  • Unit 3: Handling Transactions with Pipelines
    • Using Redis Pipelines to Add User Data and Scores
    • Making Pipeline Argument Optional for Redis Functions
  • Unit 4: Utilizing Redis Streams for Event Logging
    • Check and Skip Existing User Before Adding
    • Logging User Activities with Redis Streams
    • Reading Entries from a Redis Stream
  • Unit 5: Implementing Pub/Sub for Notifications
    • Publishing Messages to Redis Channel using JavaScript
    • Handling Incoming Messages with Redis Pub/Sub
    • Enhance the Message Handler for a Tic-Tac-Toe Game

Reviews

Start your review of Implementing a Redis-based Backend System with Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.