Homec4science

Garbage collect TTL'd cache entries from the general cache

Authored by epriestley <git@epriestley.com> on Feb 17 2013, 18:13.

Description

Garbage collect TTL'd cache entries from the general cache

Summary: We currently garbage collect general cache entries after a set period of time (30 days by default), but the recent changes to DarkConsole have left us writing a lot of large, short-TTL data to the cache. In addition to a maximum age, GC cache entires after they TTL out.

Test Plan: Ran GC daemon, saw TTL'd entries get collected. Inserted a TTL'd entry, saw it get collected by GC. Saw non-ttl'd entries not get collected.

Reviewers: chad

Reviewed By: chad

CC: aran

Differential Revision: https://secure.phabricator.com/D4990

Details

Committed
epriestley <git@epriestley.com>Feb 17 2013, 18:13
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc2642c8a40f8: Remove redundant translations
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH26aac1634606: Garbage collect TTL'd cache entries from the general cache (authored by epriestley <git@epriestley.com>).Feb 17 2013, 18:13