Skip to content

perf(files_external): Increase S3 cache caps#58642

Open
joshtrichards wants to merge 1 commit intomasterfrom
jtr/perf-s3-external-cache-sizing
Open

perf(files_external): Increase S3 cache caps#58642
joshtrichards wants to merge 1 commit intomasterfrom
jtr/perf-s3-external-cache-sizing

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Feb 28, 2026

Summary

Changes:

  • objectCache: 512-->2048
  • directoryCache: 512-->8192
  • filesCache: 512-->4096

Impact:

  • Better cache hit rate during large scans
  • Fewer repeated S3 metadata requests
  • Faster recursive scan/listing operations on large buckets

Note:

  • Higher per-request memory usage in large-scan scenarios (still bounded by caps)
  • Minimal impact on small requests that do not exceed current cache limits

TODO

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 34 milestone Feb 28, 2026
@joshtrichards joshtrichards marked this pull request as ready for review February 28, 2026 14:14
@joshtrichards joshtrichards requested a review from a team as a code owner February 28, 2026 14:14
@joshtrichards joshtrichards requested review from Altahrim, CarlSchwan, leftybournes and salmart-dev and removed request for a team February 28, 2026 14:14
@joshtrichards joshtrichards added the 3. to review Waiting for reviews label Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant