RedLock a smart lock for distributed systems
Talk 30 min
Anas El Amraoui
Locking could be done in many different ways, some of them are quite heavy (slow), others can be dangerous (deadlocks), in this session we will go through some simple ways of locking a resource and profile the different approaches.
We will go through the algorithm of RedLock which could be implemented with many others storage solutions, we will see pros and cons and if time allows also its implementation with multiple Redis instances.
For the demo Django and Redis will be used and to profile the http calls locust will be used.