Redis is an in-memory data structure store used as a database, cache, and message broker. This guide introduces the essential concepts and operations of Redis, including connecting to a Redis server, working with numbers, performing basic operations, and handling data structures such as lists and hashes using C++.
Overview
Syllabus
- Unit 1: Connecting to a Redis Server Using C++
- Connecting to a Redis Server
- Store and Retrieve Hero in Redis
- Handling Multiline Strings in Redis with Hiredis
- Identify and Fix the Redis Key Retrieval Error
- Store and Retrieve String from Redis
- Connect to Redis Server and Set Key-Value Pair
- Unit 2: Working with Numbers in Redis Using C++
- Working with Numbers in Redis Using Hiredis
- Redis Count Increment Debugging Task
- Fill in Redis Script Missing Pieces
- Connect to Redis and Manipulate Numeric Values
- Unit 3: Operations with Numbers in Redis Using C++
- Working with Redis Number Operations
- Modify and Handle Redis Operations
- Fixing Redis Operation Bug
- Working with Redis: Increment and Decrement Operations
- Perform Numeric Operations on Redis Keys
- Unit 4: Introduction to Redis Lists Using C++
- Working with Redis Lists
- Working with Redis Lists and Hiredis
- Modify Redis Code to Work with Numbers
- Print First Two Students from Redis List
- Identify and Fix the Bug in Redis List Handling Code
- Practice Creating a Redis List
- Unit 5: Understanding Redis Hashes Using C++
- Using Redis Hashes
- Modify Redis Hash to Add a Country Field
- Retrieve Specific Field from Redis Hash using HGET
- Fix the Error in C++ Redis User Details Script
- Storing and Retrieving Movie Details with Redis Hashes
- Store and Retrieve Travel Destination Using Redis Hashes