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

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: Batch Command Execution
    • Add a Decrement Operation
    • Changing User Details with Pipelined Commands
    • Batch Commands with Redis Pipeline
    • Pipelined Command Execution
    • Batch Setting Keys with Pipeline
  • Unit 2: Introduction to Redis Transactions
    • Managing Redis Transactions
    • Using Closures for Transaction Management
    • Transaction Setup for Counters
    • Managing Hero and Villain Energy
  • Unit 3: Introduction to Watch in Redis
    • Redis Watch Command
    • Handling Conditional Balance Updates
    • Updating Post Likes with Transactions
  • Unit 4: Redis Lua Scripting
    • Change Increment to Decrement
    • Completing a Lua Script to Update View Count
    • Decrement Available Copies
    • Adding More Players

Reviews

Start your review of Mastering Redis Transactions and Efficiency

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.