Redis Intermediate to Advanced

In this course, delve into advanced Redis topics like key management, data structures (Lists, Sets, Sorted Sets, Hashes), transactions, Pub/Sub, Lua scripting, persistence, security, performance monitoring, HyperLogLog, and cluster management.

DatabaseRedis

Introduction

Redis Intermediate to Advanced expands command-line Redis skills across 13 guided labs. You move beyond basic keys into richer collection operations, transactions, messaging, server-side Lua, persistence, security settings, performance inspection, approximate counting, and cluster administration.

Despite the title, every lab uses a step-by-step Beginner format. The topics are intermediate or advanced in breadth, while the exercises remain guided and run against local Redis instances rather than a production application.

What You Will Learn

  • Rename and move keys, work with multiple values, and iterate the keyspace with SCAN
  • Manipulate lists, sets, sorted sets, and hashes with their specialized commands
  • Queue, execute, verify, and discard Redis transactions
  • Publish and receive channel or pattern messages across multiple redis-cli sessions
  • Execute parameterized Lua with EVAL and load and reuse scripts with SCRIPT LOAD and EVALSHA
  • Configure RDB and AOF persistence, trigger saves, inspect save times, and rewrite AOF data
  • Set password authentication, evaluate dangerous commands, and inspect latency, memory, and slow queries
  • Estimate cardinality with HyperLogLog and create, inspect, extend, and reshard a local Redis cluster

Who This Course Is For

This course is for Redis users who know basic redis-cli key-value operations and want guided exposure to a wider operational feature set. It suits developers and system administrators preparing to explore messaging, scripting, durability, diagnostics, or cluster concepts before applying them in a larger system.

Prerequisites: You should be comfortable connecting with redis-cli and using basic commands such as SET and GET. Basic terminal skills are required. Prior Lua or cluster-administration experience is not necessary because each workflow is guided.

Learning environment: All 13 labs run in an Ubuntu 22.04 VNC environment with locally installed Redis Server instances. Most labs use one local server. The cluster lab launches multiple Redis processes on ports 7000–7006 within the same VM and uses redis-cli --cluster for creation and resharding.

Frequently Asked Questions

Is this an unguided advanced course?

No. All 13 activities are guided Beginner labs with verification steps and no standalone challenges. The subject matter goes beyond Redis basics, but commands and workflows are introduced step by step.

Does the cluster lab represent a production multi-host deployment?

No. It creates several cluster-enabled Redis processes on one VM, including replicas and an added node, then practices health checks and slot resharding. Multi-host networking, failover testing, upgrades, and managed cluster operations are not covered.

How deeply does the security lab harden Redis?

It sets requirepass, practices AUTH, and demonstrates why commands such as FLUSHALL should be restricted. It mentions disabling a command through redis.conf, but does not implement ACLs, TLS, firewall rules, certificate management, or a complete production security baseline.

Will I write an application that uses Redis?

No. The work is performed mainly in redis-cli, with Lua entered or loaded for server-side scripting. The course does not use a Python, JavaScript, Java, or other client library to build an application.

Teacher

labby
Labby
Labby is the LabEx teacher.

Recommended For You

no data