Re:Redis: the AK-47 of databases
by antirez on Friday January 28, 2011 @02:01PM
(#2153040)
Indeed, not very Redis-ish :)
With WATCH is very easy. WATCH this keys. Perform your reads. Prepare to write in a transaction. If at least one key was modified in the meantime the transaction will fail.
With WATCH is very easy. WATCH this keys. Perform your reads. Prepare to write in a transaction. If at least one key was modified in the meantime the transaction will fail.