antirez/redis — Issue #207: get_lock  in redis?
Author: technomagos
Created: 2011-11-23 00:09:09+00:00
State: open

Is it possible in redis to have named exclusive locks, something like a get_lock/release_lock, like in mysql:
http://dev.mysql.com/doc/refman/5.5/en/miscellaneous-functions.html#function_get-lock
Exclusive/blocking lock semantics.

One important and _very_ useful functionality of this simple statement is that the lock is auto-released by the server, if the client connection is gone. even if it dos not call release_lock.

thanks