dormando wrote:
X -> set "foo" 1 A -> incr "foo" by 1 B -> incr "foo" by 1A -> returns 3 B -> returns 3
That doesn't seem like "thread-safe" to me... The whole point of an "incr" and "decr" operation would be to *make it* thread-safe (otherwise, why not just "get" followed by a "set"? other than reducing network round-trips anyway)
Dean.
