Glossary: System Design Beyond the Basics in JavaScript
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 in JavaScript
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.