Redis is an in-memory data structure store used as a database, cache, and message broker. This course 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 Java and the Jedis library.
Overview
Syllabus
- Unit 1: Setting up and Connecting to a Redis Server
- Connecting to Redis with Jedis
- Change Key-Value Data
- Deleting Keys
- Stimulating a Simple User Session Store
- Unit 2: Working with Numbers in Redis
- Numbers and Operations in Action
- Change Increment Logic to Use a Custom Step
- Fixing Numeric Value Errors
- Checking for Existence
- Working with Floats
- Track and Update Social Media Stats
- Unit 3: Introduction to Redis Lists
- Lists and Common Operations
- Simulating a Task Queue
- Finding the Index
- Simulating a Message Queue
- Debugging List Access
- Track Shopping Cart Size with LLEN
- Simulating a Simple Chat System
- Unit 4: Understanding Redis Hashes
- Using Redis Hashes
- Adding an Additional Field
- Adding Basic Validation
- Fix Incorrect Field Deletion
- Simulate a User Login Counter
- Comprehensive User Data Management with Redis Hashes