Skip to content

Comments

[PERF] fix performance hit#511

Merged
gurneyalex merged 1 commit into19.0from
19.0-fix-performance
Feb 16, 2026
Merged

[PERF] fix performance hit#511
gurneyalex merged 1 commit into19.0from
19.0-fix-performance

Conversation

@gurneyalex
Copy link
Member

On the cloud platform of Camptocamp, a shared redis is used to store the sessions of the different projects -> the number of keys is huge, and using an iterative match kills the performance because of the networking overhead.

We switch to using redis.key(pattern), and since the pattern typically has a leading string which will allow redis to find the correct bucket, the performance should be good.

On the cloud platform of Camptocamp, a shared redis is used to store the
sessions of the different projects -> the number of keys is huge, and
using an iterative match kills the performance because of the networking
overhead.

We switch to using redis.key(pattern), and since the pattern typically
has a leading string which will allow redis to find the correct bucket,
the performance should be good.
@gurneyalex gurneyalex requested a review from jcoux February 16, 2026 10:48
@gurneyalex gurneyalex merged commit 9d25a5d into 19.0 Feb 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants