Skip to content

Glossary: System Design Beyond the Basics in Rust

Atomic increment

Also written: atomic, INCR

One step that adds to a number 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

Distributed rate limitingLua scriptRedis