Skip to content

Glossary: System Design Beyond the Basics in Go

Atomic increment

Also written: INCR, atomic

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 for shared rate-limit counts.

Where the book teaches it

Related terms

RedisLua scriptDistributed rate limiting