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

fix(autoloader): no apcu no side effects #40349

Merged
merged 1 commit into from Sep 8, 2023

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Sep 8, 2023

apcu lead to side effects especially with app management and (soft) inter-dependencies, and lead also to 500 server errors. While we could add management to clear apcu cache in many cases (may stil leave edge cases) the performance benefit is marginally as also class maps are already cached in opcache. Hence, the simple and effective way to go is to not use apcu for autoloading.

Resolves: nextcloud/groupfolders#2478 and likely others

Obsoletes: #40191

Also confer #40191 (comment)

apcu lead to side effects especially with app management and (soft)
inter-dependencies, and lead also to 500 server errors. While we could
add management to clear apcu cache in many cases (may stil leave edge
cases) the performance benefit is marginally as also class maps are
already cached in opcache. Hence, the simple and effective way to go is
to not use apcu for autoloading.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz added bug 3. to review Waiting for reviews labels Sep 8, 2023
@blizzz blizzz added this to the Nextcloud 28 milestone Sep 8, 2023
@blizzz blizzz requested review from icewind1991, juliushaertl, kesselb, solracsf, a team, ArtificialOwl and sorbaugh and removed request for a team September 8, 2023 14:57
@blizzz
Copy link
Member Author

blizzz commented Sep 8, 2023

/backport to stable27

@blizzz
Copy link
Member Author

blizzz commented Sep 8, 2023

/backport to stable26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug feature: caching Related to our caching system: scssCacher, jsCombiner...
Projects
None yet
4 participants