Skip to content
masterclass Buddy

System Design · Concept

TTL

TTL sets the maximum time a cached query result may stay in the cache before it is refreshed. It limits how long the result can remain stale.

Last updated

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Cache-aside
  • Write-through
  • Write-behind (write-back)
  • Refresh ahead
  • Cache Consistency patterns

Source: system-design-primer/solutions/system_design/query_cache/README.md at master · donnemartin/system-design-primer · GitHub. Checked 2026-11-03.