gitlab-org--gitlab-foss/spec/lib
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
..
api Include the port in the URLs of the API Link headers 2019-06-06 15:11:48 +02:00
backup
banzai Merge branch 'security-DOS_issue_comments_banzai' into 'master' 2019-07-02 06:22:45 +00:00
bitbucket
bitbucket_server
constraints
container_registry
feature Turn on Cat-File cache by default 2019-06-18 13:33:43 +02:00
gitaly Add Gitaly data to the usage ping 2019-06-20 15:26:56 +02:00
gitlab Merge branch 'limit-amount-of-tests-returned' into 'master' 2019-07-03 21:47:32 +00:00
google_api
json_web_token
mattermost Protect Gitlab::HTTP against DNS rebinding attack 2019-05-30 10:47:31 -03:00
microsoft_teams
object_storage
omni_auth/strategies
quality Revert "Merge branch 'revert-04c3c6dd' into 'master'" 2019-05-22 21:47:32 +02:00
rspec_flaky
safe_zip
sentry
serializers
system_check
after_commit_queue_spec.rb
event_filter_spec.rb
expand_variables_spec.rb
extracts_path_spec.rb
feature_spec.rb Cache Flipper feature flags in L1 and L2 caches 2019-07-03 16:22:50 -07:00
file_size_validator_spec.rb
forever_spec.rb
gitlab_spec.rb Backport gitlab.yml.example from EE 2019-06-20 14:51:49 +02:00
milestone_array_spec.rb
system_check_spec.rb
uploaded_file_spec.rb