Open GoogleCodeExporter opened 8 years ago
A cheaper alternative in term of memory usage:
M(INCR|DECR)(BY|) equivalents to (INCR|DECR)(BY|) by monitored by operators
such as
the following.
BCDECR key (Blocking Conditional DECRease)
decreases $key by 1 and returns as soon as M(INCR|DECR)(BY|) is called on the
key and
$key > 0
BCDECRBY key value
decreases $key by $value and returns as soon as M(INCR|DECR)(BY|) is called on
the
key and $key >= $value
Original comment by geoffroy...@gmail.com
on 1 Mar 2010 at 2:01
perhaps the new MULTI/EXEC/WATCH semantics is able to implement this client
side without race conditions?
Cheers,
Salvatore
Original comment by anti...@gmail.com
on 24 Aug 2010 at 2:18
Original issue reported on code.google.com by
geoffroy...@gmail.com
on 1 Mar 2010 at 1:53