Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Redis Mastery: From Basics to Advanced Applications
Rating: 4.6 out of 5(33 ratings)
16,654 students

Redis Mastery: From Basics to Advanced Applications

Unlock the full potential of Redis with our course and become a master of high-performance data storage and retrieval!
Last updated 7/2024
English
English [Auto],

What you'll learn

  • Introduction to Redis: Understanding the basics and importance of Redis in modern data management.
  • Redis Keys and Values: How to work with keys and values, including basic commands and operations.
  • Pattern Matching and Data Types: Techniques for pattern matching, understanding various data types in Redis.
  • String Operations: In-depth exploration of Redis strings, including setting, getting, and manipulating string values.
  • Hashes and Lists: Managing hashes and lists, creating, modifying, and querying these data structures.
  • Sets and Sorted Sets: Detailed understanding of Redis sets and sorted sets, learning commands and use cases.
  • Advanced Sorted Sets: Exploring advanced features and functionalities of sorted sets.
  • HyperLogLog: Utilizing HyperLogLog for approximate counting of unique elements.
  • Pub/Sub Messaging: Implementing publish/subscribe messaging pattern in Redis.
  • Advanced Commands and Transactions: Mastering various advanced Redis commands and handling transactions.
  • Scripting: Learning Redis scripting with Lua to automate and optimize tasks.
  • Connection Management: Understanding and managing Redis connections effectively.
  • Redis Server Management: Comprehensive server management, including configuration, optimization, and troubleshooting.

Course content

3 sections42 lectures5h 39m total length
  • Introduction to Redis2:56

    Discover Redis fundamentals by exploring core data types—keys, strings, hashes, and lists. The course covers prerequisites and hands-on skills for beginners.

  • Redis Keys Basics6:46

    Learn Redis keys basics by creating and deleting keys, using dump to inspect serialized values, checking existence, and understanding key naming rules and case sensitivity.

  • Redis Keys and Values8:02

    Expire keys with the expire command to automatically delete them after a set time, and move keys between databases using the move command while switching databases with select.

  • Check if Redis Keys exists7:06

    Explore redis keys search with key patterns, using question marks for single characters, asterisks for any length, and square brackets for specific sets, noting case sensitivity.

  • Redis Keys Spaces8:33

    Discover Redis key expiration with expire and expireat in milliseconds and seconds, and inspect the object command for refcount, encoding, and idle time to understand storage behavior.

  • Redis Keys Pattern Matching8:06

    Master Redis key management by learning to remove expiry with persist, rename keys (and rename nx), fetch random keys, and check the time remaining for expirations.

  • Redis Keys Data Type9:16

    Master Redis keys data type by using sorting, limiting results, and retrieving key types. Learn commands to set, expire, dump, restore, scan, and inspect lists, hashes, and other key structures.

  • Redis String8:00

    Master Redis strings by using set to store and overwrite key values with optional expiration in seconds or milliseconds, and retrieve them with get and getrange.

  • Redis String Continue7:34

    Learn Redis string commands: fetch multiple keys with mget, set timed values with setex, use setnx for conditional saves, and overwrite parts with setrange.

  • Redis String Value11:33

    Learn how to manage Redis string values with set and mset, including conditional msetnx, expiration with milliseconds, and various increments and appends.

  • Redis Hashes11:51

    Explore Redis hashes by creating and updating fields, retrieving single or all values, deleting fields, and checking existence to manage hash key-value data.

  • Redis Hashes Continue12:47

    Learn to use Redis hashes for storing and updating fields, including hset, hincrby and hincrbyfloat, retrieving keys and values with hkeys, hvals, and hgetall, and conditional creation with hsetnx.

  • Redis Lists Introduction8:00

    Master redis lists by using lpush to add items, lpop to remove, and lrange to view ranges; learn lpushx behavior and list existence checks.

  • Creating a List8:46

    Explore Redis lists by using rpush and lpush to add at tail or head, learn behavior for existing vs missing lists, and move items with lpush and lpop.

  • Trim and Remove a List5:49

    Explains blocking list operations in Redis, using blpop to block specific connections, remove items from lists, and brpoplpush to block, move, and reinsert items after timeout.

  • Matching Elements7:15

    Explore how to manipulate Redis lists using lpush, lrange, lindex, and linsert, including adding, removing, and querying elements, handling empty lists, and index rules.

  • Move Elements10:38

    Master Redis list manipulation with lrem, lset, lrange, and ltrim by removing elements, inserting at indices, and fetching ranges while handling index bounds.

Requirements

  • Basic Programming Knowledge: Familiarity with basic programming concepts and experience in at least one programming language (e.g., Python, Java, JavaScript).
  • Understanding of Databases: Basic knowledge of database concepts, including key-value stores and relational databases.
  • Command Line Interface (CLI) Experience: Comfort with using the command line interface for running commands and navigating file systems.
  • Computer with Internet Access: A computer with internet access to install Redis, complete exercises, and participate in any online discussions or resources.
  • Installation Permissions: Ability to install software on your computer, as the course will include setting up Redis and related tools.
  • Curiosity and Willingness to Learn: A keen interest in learning about in-memory data structures and how to use Redis to solve data management problems.

Description

Introduction

Redis Mastery: From Basics to Advanced is a comprehensive course designed to provide learners with an in-depth understanding of Redis, from the fundamental concepts to advanced techniques. This course is perfect for anyone looking to leverage Redis for high-performance data storage and retrieval, whether for personal projects or enterprise-level applications.

Section 1: Redis Training - Beginner Level

In this section, students will be introduced to the basics of Redis, including key concepts and fundamental operations. Topics covered include the basics of Redis keys, values, and data types. Students will learn how to check key existence, manage key spaces, and perform pattern matching. This section also delves into Redis strings and hashes, providing a solid foundation for understanding how data is stored and manipulated in Redis.

Section 2: Redis Training - Intermediate

Building on the foundational knowledge, the intermediate section focuses on more complex Redis data structures and commands. Students will explore Redis sets, sorted sets, and the intricacies of these data structures. They will learn advanced commands, how to handle large datasets efficiently, and the use of Redis for real-time analytics. This section also covers Redis HyperLogLog and Pub/Sub, equipping students with the skills to handle more sophisticated use cases.

Section 3: Redis Training - Advanced Level

The advanced section takes students to the next level with a deep dive into Redis transactions, scripting, and server management. Students will learn about various commands, scripting with Lua, and how to use transactions to ensure data integrity. The section also covers advanced connection handling, server configuration, and optimization techniques to ensure high availability and performance in production environments.

Conclusion

By the end of this course, students will have a comprehensive understanding of Redis and be able to apply their knowledge to build high-performance, scalable applications. They will be proficient in managing Redis instances, optimizing performance, and leveraging advanced features to solve complex problems.

Who this course is for:

  • Developers: Programmers who want to enhance their skills in using Redis for caching, session management, real-time analytics, and other data-driven applications.
  • Database Administrators: DBAs looking to integrate Redis into their database solutions to improve performance and scalability.
  • System Administrators: SysAdmins who need to understand how to deploy and manage Redis instances in production environments.
  • Data Engineers: Professionals responsible for building and maintaining data infrastructure, seeking to leverage Redis for efficient data processing.
  • Tech Enthusiasts: Individuals interested in learning about in-memory data stores and exploring new technologies for personal or professional growth.
  • Students: Computer science and IT students who want to gain practical experience with Redis to complement their academic knowledge.