How does this work https://medium.com/uc-engineering/pessimistic-locking-for-a-distributed-system-part-1-cc85c755c357 https://medium.com/uc-engineering/pessimistic-locking-for-a-distributed-system-part-2-f2d224567284