Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] redis: use atomic operations everywhere #38538

Merged
merged 3 commits into from
Jun 1, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #37758

pulsejet and others added 3 commits May 31, 2023 07:13
This removes a lot of acrobatics in the code and does each operation
atomically using a lua script. This also reduces several round trips
to the server, and the scripts are compiled and cached server-side.

Notably, since all operations work only on a single key (except clear,
which is broken anyway and shouldn't be used), they will continue to
function and be atomic for Redis cluster.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
@backportbot-nextcloud backportbot-nextcloud bot added feature: caching Related to our caching system: scssCacher, jsCombiner... performance 🚀 labels May 31, 2023
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 27 milestone May 31, 2023
@ChristophWurst ChristophWurst added the 3. to review Waiting for reviews label May 31, 2023
@skjnldsv skjnldsv mentioned this pull request May 31, 2023
16 tasks
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 1, 2023
@AndyScherzinger AndyScherzinger merged commit f5d5636 into stable27 Jun 1, 2023
@AndyScherzinger AndyScherzinger deleted the backport/37758/stable27 branch June 1, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: caching Related to our caching system: scssCacher, jsCombiner... performance 🚀
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants