diff options
author | Stan Hu <stanhu@gmail.com> | 2019-06-18 13:50:46 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-06-18 13:59:18 -0700 |
commit | 1b0c71ef8423cf20532953e58735dd7f61325e85 (patch) | |
tree | 9369ae15142a8d4700010ea1b6694122d0e73dc2 /changelogs/unreleased/sh-cache-feature-flag-names.yml | |
parent | 2dea03bf103a05d98366d6a8e9e906e890147bdc (diff) | |
download | gitlab-ce-1b0c71ef8423cf20532953e58735dd7f61325e85.tar.gz |
Cache feature flag names in Redis for a minute
We saw on GitLab.com, the SQL query, `SELECT "features"."key" FROM
"features"` peaked at 2300 times per second.
We can quiet this down a bit by caching it in Redis for a minute.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63435
Diffstat (limited to 'changelogs/unreleased/sh-cache-feature-flag-names.yml')
-rw-r--r-- | changelogs/unreleased/sh-cache-feature-flag-names.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-cache-feature-flag-names.yml b/changelogs/unreleased/sh-cache-feature-flag-names.yml new file mode 100644 index 00000000000..6120c4870f8 --- /dev/null +++ b/changelogs/unreleased/sh-cache-feature-flag-names.yml @@ -0,0 +1,5 @@ +--- +title: Cache feature flag names in Redis for a minute +merge_request: 29816 +author: +type: performance |