{{ variable.name }}
Introduction: In this course, the instructor will guide you to understand the basic concepts of distributed locks and the methods of applying distributed locks in practical situations. Through case studies, we will explain the application scenarios of distributed locks and guide everyone step by step to improve the design of distributed locks. The key points to explain are the process and precautions of using redis for distributed locks.
Chapter 1: Introduction to Distributed Locks
Get to know distributed locks for the first time and understand their basic concepts and application scenarios
Course Introduction 1-1
1-2 The Concept and Application Scenarios of Distributed Locks
Case project construction and environment configuration 1-3
1-4 idea simulation implementation for multi-machine deployment
1-5 ngnix implements load balancing and clustering
1-6 Demonstrate the phenomenon of cluster oversold using jmeter
Chapter 2: Advanced Implementation of Distributed Locks Based on Redis
Take the single-machine lock as the appetizer, then implement the distributed lock with SETNX, and gradually improve the distributed lock. Explain what problems may arise in each situation and make improvements
2-1 Appetizer: Implementing single-machine Locks using synchronized
2-2 Laying a Solid Foundation: Implementing Distributed Locks using SETNX
2-3 Scheme Optimization: SETNX Implements Distributed Lock Improvement
2-4 Best Practice: Redisson Distributed Lock
Chapter 3 How to Answer Distributed Locks in an Interview
Understand the interview questions related to distributed locks
3-1 How to answer questions about distributed locks in an interview
Chapter 4 Course Summary
Course Summary
4-1 Course Summary