Skip to content

Glossary: System Design Basics in Go

fake clock

A clock function a test swaps in and moves by hand, so tests of expiry don't have to wait real time.

Where the book teaches it

Related terms

TTL (time to live)circuit breaker