Skip to content

perf(cache): use redis unlink for key deletion - #10658

Merged
muhlemmer merged 2 commits into
mainfrom
perf-redis-unlink
Sep 8, 2025
Merged

muhlemmer merged 2 commits into
mainfrom
perf-redis-unlink

Conversation

@muhlemmer

Copy link
Copy Markdown
Collaborator

Which Problems Are Solved

The usage of the Redis DEL command showed blocking and slowdowns during load-tests.

How the Problems Are Solved

Use UNLINK instead.

Additional Changes

  • none

Additional Context

@vercel

vercel Bot commented Sep 6, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Sep 8, 2025 8:04am
zitadel-login Ready Ready Preview Comment Sep 8, 2025 8:04am

@github-actions

github-actions Bot commented Sep 6, 2025

Copy link
Copy Markdown

Thanks for your contribution @muhlemmer! 🎉

Please make sure you tick the following checkboxes before marking this Pull Request (PR) as ready for review:

  • I have reviewed my changes and would approve it
  • Documentations and examples are up-to-date
  • Logical behavior changes are tested automatically
  • No debug or dead code
  • My code has no repetitions
  • The PR title adheres to the conventional commit format
  • The example texts in the PR description are replaced.
  • If there are any open TODOs or follow-ups, they are described in issues and link to this PR
  • If there are deviations from a user stories acceptance criteria or design, they are agreed upon with the PO and documented.

@muhlemmer
muhlemmer requested a review from adlerhurst September 6, 2025 10:47
@codecov

codecov Bot commented Sep 6, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.49%. Comparing base (869282c) to head (59ae7e4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10658      +/-   ##
==========================================
+ Coverage   64.47%   64.49%   +0.01%     
==========================================
  Files        1793     1793              
  Lines      163392   163392              
==========================================
+ Hits       105352   105373      +21     
+ Misses      52866    52851      -15     
+ Partials     5174     5168       -6     
Flag Coverage Δ
core-integration-tests-postgres 43.78% <ø> (+0.01%) ⬆️
core-unit-tests 45.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@muhlemmer
muhlemmer enabled auto-merge (squash) September 8, 2025 07:59
@muhlemmer
muhlemmer merged commit a06ae2c into main Sep 8, 2025
31 of 32 checks passed
@muhlemmer
muhlemmer deleted the perf-redis-unlink branch September 8, 2025 08:21
livio-a pushed a commit that referenced this pull request Sep 8, 2025
# Which Problems Are Solved

The usage of the Redis `DEL` command showed blocking and slowdowns
during load-tests.

# How the Problems Are Solved

Use [`UNLINK`](https://redis.io/docs/latest/commands/UNLINK/) instead.

# Additional Changes

- none

# Additional Context

- closes #8930

(cherry picked from commit a06ae2c)
livio-a pushed a commit that referenced this pull request Sep 15, 2025
# Which Problems Are Solved

The usage of the Redis `DEL` command showed blocking and slowdowns
during load-tests.

# How the Problems Are Solved

Use [`UNLINK`](https://redis.io/docs/latest/commands/UNLINK/) instead.

# Additional Changes

- none

# Additional Context

- closes #8930

(cherry picked from commit a06ae2c)
@github-actions github-actions Bot mentioned this pull request Feb 4, 2026
fo-ofc pushed a commit to O-F-C/zitadel that referenced this pull request Jun 10, 2026
# Which Problems Are Solved

The usage of the Redis `DEL` command showed blocking and slowdowns
during load-tests.

# How the Problems Are Solved

Use [`UNLINK`](https://redis.io/docs/latest/commands/UNLINK/) instead.

# Additional Changes

- none

# Additional Context

- closes zitadel#8930
fo-ofc pushed a commit to O-F-C/zitadel that referenced this pull request Jun 10, 2026
# Which Problems Are Solved

The usage of the Redis `DEL` command showed blocking and slowdowns
during load-tests.

# How the Problems Are Solved

Use [`UNLINK`](https://redis.io/docs/latest/commands/UNLINK/) instead.

# Additional Changes

- none

# Additional Context

- closes zitadel#8930

(cherry picked from commit 981afa3)

This branch was successfully deployed

2 active deployments
Preview – docs — 59ae7e4b Deployed Sep 8, 2025 by vercel[bot]
Preview – zitadel-login — 59ae7e4b Deployed Sep 8, 2025 by vercel[bot]
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.

[perf] objects which are not found in redis take long time

2 participants