Glossary: System Design Beyond the Basics
Atomic increment
Also written: INCR
One step that adds to a counter and returns the new value, such as Redis's INCR. It stops two servers from both reading 4 and both writing 5.
Glossary: System Design Beyond the Basics
Also written: INCR
One step that adds to a counter and returns the new value, such as Redis's INCR. It stops two servers from both reading 4 and both writing 5.