Nope. Without NX, it would always overwrite the value right? Which means potentially two different values can be returned. So, rather than that, allow one, block anyone trying to overwrite, and make them read from redis again.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
@munawwar Did you run some benchmarks for with and without NX flag ?
Nope. Without NX, it would always overwrite the value right? Which means potentially two different values can be returned. So, rather than that, allow one, block anyone trying to overwrite, and make them read from redis again.