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 C++

via CodeSignal

Overview

This guide explores Redis's capabilities for executing atomic operations using transactions and pipelines in C++. Learn how to batch commands with pipelines, implement atomic transactions with watch/unwatch, and leverage Lua scripting for advanced use cases.

Syllabus

  • Unit 1: Introduction to Batching Commands with Redis Pipelines in C++
    • Redis Transaction Execution Task
    • Decrement Operation in Redis Pipeline
    • Debugging Redis Pipeline Issue
    • Batch Commands in a Redis Pipeline Using C++
    • Redis Pipeline Practice in C++
    • Using Redis Pipelines for Batch Processing in C++
  • Unit 2: Key Monitoring and Transactions with Redis in C++
    • Implementing Watch Command in Redis C++ Integration
    • Monitoring and Updating User Scores in Redis
    • Modify Update Balance Function to Include User ID in C++ with Redis
    • Update Post Likes with Redis Watch in C++
    • Use Watch for Conditional Transactions in Redis
  • Unit 3: Overview of Redis Lua Scripting for Transactions with C++
    • Lua Scripting with Redis in C++
    • Decrement Value Using Redis and Lua Script
    • Updating View Count in Redis Using Lua
    • Decrement Book Copies in Redis Using C++
    • Update Player Experience Points in Redis Using C++
    • Updating Player Scores in Redis using C++

Reviews

Start your review of Mastering Redis Transactions and Efficiency with C++

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.