2db7c5762b
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
5 lines
106 B
YAML
5 lines
106 B
YAML
---
|
|
title: Cache Flipper feature flags in L1 and L2 caches
|
|
merge_request: 30276
|
|
author:
|
|
type: performance
|