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

CodeSignal

Mastering Redis Transactions and Efficiency with Node.js

via CodeSignal

Overview

This course covers Redis's features for executing atomic operations using transactions and pipelines. Learn how to build transactions, implement watch and unwatch, improve efficiency with pipelines, and handle errors in transactions.

Syllabus

  • Unit 1: Introduction to Batching Commands with Pipelines
    • Running a Redis Commands in a Pipeline
    • Add a Decrement Operation to the Redis Pipeline
    • Debugging Redis Pipeline
    • Batch Multiple Commands Using Redis Pipelines
    • Batching Commands with Redis Pipelines
    • Batch Setting Keys with Redis Pipelines
  • Unit 2: Introduction to Watch in Redis Using JavaScript
    • Run the Redis `watch` Command Example
    • Using Redis Watch Command for Consistent Score Updates
    • Updating Balance with Multiple User IDs
    • Updating Post Likes with Redis Watch
    • Updating User Points with Redis Watch Command
  • Unit 3: Overview of Redis Lua Scripting for Transactions
    • Running a Lua Script in Redis with Node.js
    • Changing Lua Script to Decrement a Redis Counter
    • Updating View Count with Lua Script in Redis
    • Decrement Available Copies of a Book Using Lua in Redis
    • Updating Player XP with Redis Lua Script
    • Completing a Lua Script to Update Player Scores in Redis Using JavaScript

Reviews

Start your review of Mastering Redis Transactions and Efficiency 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.