Homec4science

Introduce a serializing key-value cache proxy

Authored by epriestley <git@epriestley.com> on Dec 6 2016, 13:59.

Description

Introduce a serializing key-value cache proxy

Summary:
Ref T11954. I want to store some lists/arrays in the mutable (database) cache, but it only supports string storage.

Provide a serializing wrapper which flattens when values are written and expands them when they're read.

Test Plan: Used by D16997. See that revision.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11954

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

Details

Committed
epriestley <git@epriestley.com>Dec 6 2016, 18:11
Pushed
aubortJan 31 2017, 17:16
Parents
rPHf8d6b6181eb4: Use PhabricatorCachedClassMapQuery when querying object PHID types
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH125fb332de72: Introduce a serializing key-value cache proxy (authored by epriestley <git@epriestley.com>).Dec 6 2016, 18:11