Skip to content

Glossary: System Design Beyond the Basics in JavaScript

Fake clock

A function returning a time you control, so tests of time-based code, such as a token bucket, never have to wait.

Where the book teaches it

Related terms

Token bucket