Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Farkas <ifarkas@gitlab.com>2019-07-17 14:07:26 +0300
committerThong Kuah <tkuah@gitlab.com>2019-07-17 14:07:26 +0300
commitf463a2d95b657cf9470053eeb3d12d236e3febb4 (patch)
tree08a1a03b62ec7bdf959c946815bb4c63023c63fe /changelogs
parent4f95a8d7f6612e8df138bd831db7f689a01ef9ca (diff)
Do Redis lookup in batches in ActiveSession.sessions_from_ids
By doing smaller mget calls to Redis, it can better schedule the workload. Currently a single mget with a lot of keys can keep Redis busy for long, while nothing in its queue gets processed.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/64315-mget_sessions_in_chunks.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/64315-mget_sessions_in_chunks.yml b/changelogs/unreleased/64315-mget_sessions_in_chunks.yml
new file mode 100644
index 00000000000..d50d86726e2
--- /dev/null
+++ b/changelogs/unreleased/64315-mget_sessions_in_chunks.yml
@@ -0,0 +1,5 @@
+---
+title: Do Redis lookup in batches in ActiveSession.sessions_from_ids
+merge_request: 30561
+author:
+type: performance