Anas El Amraoui
Worked with python for the last 7 years, from task automation to computer vision and IoT, ending in backend development.
Now I work @ Convious as a senior backend developer.
I like simple things, that's maybe why I code in python.
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.