Redis Training

In this Redis training course, students learn about Redis data structures and web applications and how to manage a Redis database.

Goals
  1. Understand why you should use Redis.
  2. Learn how to work with Redis data structures.
  3. Learn about Redis Web applications support and components.
  4. Learn how to use search-based applications.
  5. Learn how to reduce memory use.
Outline
  1. Introduction to Redis
    1. Redis Compared to Other Databases and Software
    2. Features
    3. Why Redis?
  2. What Redis Data Structures Look Like
    1. Strings in Redis
    2. Lists in Redis
    3. Sets in Redis
    4. Hashes in Redis
    5. Sorted sets in Redis
  3. Redis Web Applications
    1. Login and Cookie Caching
    2. Shopping Carts in Redis
    3. Web Page Caching
    4. Database Row Caching
    5. Web Page Analytics
  4. Commands in Redis
    1. Strings
    2. Lists Sets
    3. Hashes
    4. Sorted Sets
    5. Publish/Subscribe
    6. Sorting
    7. Transactions
    8. Expiring Keys
  5. Data Management
    1. Persistence Options
    2. Snapshots
    3. Append-only File Persistence
    4. Rewriting/Compacting Append-only Files
    5. Replication
    6. Configuring for Replication
    7. Master/Slave Chains
    8. Verifying Disk Writes
    9. System Failures
  6. Application Support
    1. Logging to Redis
    2. Counters and Statistics
    3. Service Discovery and Configuration
    4. Using Redis to Store Configuration Information
  7. Application Components
    1. Distributed Locking
    2. Fine-grained Locking
    3. Locks with Timeouts
    4. Counting Semaphores
    5. Fair Semaphores
    6. Refreshing Semaphores
    7. Preventing Race Conditions
    8. Task Queues
    9. Distributing Files with Redis
  8. Search-based Applications
    1. Searching in Redis
    2. Basic Search Theory
    3. Sorting Search Results
    4. Sorted Indexes
    5. Sorting Search Results with ZSETs
  9. Reducing Memory Use
    1. Short Structures
    2. The ziplist Representation
    3. The intset Encoding for SETs
    4. Performance Issues for Long ziplists and intsets
    5. Sharded Structures
    6. HASHes
    7. SETs
  10. Scaling Redis
    1. Scaling Reads
    2. Scaling Writes and Memory Capacity
    3. Handling Shard Configuration
    4. Creating a Server-sharded Connection Decorator
    5. Scaling Complex Queries
    6. Scaling Search Query Volume
    7. Scaling Search Index Size
    8. Scaling a Social Network
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.