Skip to content

Create finder for searching branch names via redis

Matija Čupić requested to merge mc/backstage/use-redis-in-branch-finder into master

What does this MR do?

Create a finder that searching branch names using Redis SSCAN. This is more efficient than loading all branch names into memory then running a Enumerable#select on the array of branches. The performance improvements are especially noticeable in large projects like gitlab-org/gitlab (which has ~19k branches).

This finder will first be used in !55074 (merged).

Does this MR meet the acceptance criteria?

Conformity

Edited by Matija Čupić

Merge request reports