diff options
author | Stan Hu <stanhu@gmail.com> | 2019-07-02 11:19:30 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-03 16:22:50 -0700 |
commit | 2db7c5762b41acbcbd71bc4bd5a8aa3d90e1a383 (patch) | |
tree | fbb54b0e73b09c9ff52500cc466374c5be153a86 /doc/customization | |
parent | 62e52ac6a8130c080f498ee2f76ef50b8c209f0f (diff) | |
download | gitlab-ce-2db7c5762b41acbcbd71bc4bd5a8aa3d90e1a383.tar.gz |
Cache Flipper feature flags in L1 and L2 cachessh-cache-flipper-checks-in-memory
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
Diffstat (limited to 'doc/customization')
0 files changed, 0 insertions, 0 deletions