A proposal for more reliable locks using Redis

—————– UPDATE: The algorithm is now described in the Redis documentation here => http://redis.io/topics/distlock. The article is left here in its older version, the updates will go into the Redis documentation instead. —————– Many people use Redis to implement distributed locks. Many believe that this is a great use case, and that Redis