Skip to content

Glossary: System Design Basics in PHP

Fake clock

A clock function a test controls by hand, so a cache's expiry can be tested without waiting 60 real seconds.

Where the book teaches it

Related terms

TTL (time to live)