Skip to content

Glossary: System Design Beyond the Basics in Java

Atomic increment

Also written: INCR

One step that adds to a counter and returns the new value, so two servers can't both read 4 and both write 5. Redis's `INCR` command does this.

Where the book teaches it

Related terms

RedisDistributed rate limitingLua script