Advanced caching questions
-
How to treat failures to access the cache?
-
How to treat failures to decode a value retrieved from cache?
- Delete from cache (and write new) or just ignore cache when value is invalidly encoded? This may interfere with rolling deployments of updates to the mod_resolve cache format (unlikely).
-
Should all error exit codes by a process be cached (backoff retries, ...)?
-
What to use as the average id length and average object size passed as hints to the cache provider?
-
#14 Cache TTL jittering