Skip to content

Glossary: System Design Beyond the Basics in JavaScript

Lua script (Redis)

Also written: Redis, Lua

A script run inside Redis as one atomic step, used to make a token bucket's read-add-write safe across servers. Redis is the fast shared store used for counts.

Where the book teaches it

Related terms

Distributed rate limitingAtomic increment