Menu

Lua scripting programming for Redis

{{ product.price_format }}
{{ product.origin_price_format }}
Quantity:
SKU:{{ product.sku }}
Model: {{ product.model }}

{{ variable.name }}

{{ value.name }}

Introduction: This course mainly explains what Lua scripting programming for Redis is, why to use this feature, and how to use it. And through two practical cases of distributed locks and list sharding, we will guide everyone to learn.

Chapter 1 Course Introduction

Course Introduction

 

1-1 Redis Course Introduction

Chapter 2 Script Demonstration

This chapter mainly covers the setup of the Lua environment, the demonstration of Lua scripts, the introduction of related commands, and the demonstration of script debugging.

 

2-1 Why should we learn Lua in Redis

 

2-2 Lua Environment Setup

 

2-3 Basic Lua Syntax

 

2-4 Demonstration of Lua Scripts in Redis

 

2-5 Introduction to Lua Script Commands Used in Redis

 

2-6 Demonstration of Lua Script Debugging in Redis

 

2-7 Summary

Chapter 3 Implementation of Distributed Locks

This chapter mainly explains why distributed locks should be implemented and how to implement a distributed lock.

 

3-1 Why Use Redis to implement distributed Locks

 

3-2 Redis implements a simple distributed lock

 

3-3 Distributed Lock Implementation in Lua in Redis

 

3-4 Summary

Chapter 4 Implementation of List Sharding

This chapter mainly explains what list sharding is and how to implement it.

 

4-1 What is list sharding

 

4-2 Redis implements list sharding

 

4-3 List sharding implemented by Lua in Redis

 

4-4 Summary

Chapter 5 Course Summary

Course Summary

 

5-1 Redis Course Summary