Skip to content

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 <[email protected]>
@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 a team, ArtificialOwl, icewind1991, juliusknorr, kesselb, solracsf 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

5 participants