gitlab-org--gitlab-foss/changelogs/unreleased/sh-cache-flipper-checks-in-memory.yml
Stan Hu 2db7c5762b Cache Flipper feature flags in L1 and L2 caches
In https://gitlab.com/gitlab-com/gl-infra/production/issues/928, we saw
a significant amount of network traffic and CPU usage due to Redis
checking feature flags via Flipper. Since these flags are hit with every
request, the overhead becomes significant. To alleviate Redis overhead,
we now cache the data in the following way:

* L1: A thread-local memory store for 1 minute
* L2: Redis for 1 hour
2019-07-03 16:22:50 -07:00

5 lines
106 B
YAML

---
title: Cache Flipper feature flags in L1 and L2 caches
merge_request: 30276
author:
type: performance