3 ms·
I use Redis as a distributed locking mechanism too, especially with its setex feature which can help reduce deadlocks. We have a UUID string as the value for th
by jasonjei 15y ago
I use Redis as a distributed locking mechanism too, especially with its setex feature which can help reduce deadlocks. We have a UUID string as the value for the key, and the only way to release the lock is that the UUID must be passed and matched against the value in Redis.