For example INCR command 1) get the value 2) increment 3) put new value in the store, which would lead to data races when multiple clients perform the same operation concurrently.
The easiest fix would be to add mutex around those commands, not sure if you would agree.
For example
INCRcommand 1) get the value 2) increment 3) put new value in the store, which would lead to data races when multiple clients perform the same operation concurrently.The easiest fix would be to add mutex around those commands, not sure if you would agree.