Nextcloud version (eg, 20.0.5): 28
Operating system and version (eg, Ubuntu 20.04): Debian 12
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4
PHP version (eg, 7.4): 8.2
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Configure S3 Bucket as an external storage
- set max_chunk_size to 80 Mo
- Upload a big file
- See the xhr (in dev tool browser)
- We can see a very slow last query, .file
I tested NextCloud and one S3 bucket on Primary Storage, I had better performance, specially in the last .file query (XHR).
To reproduce my need : need 3 bucket S3, one per directory, I created 3 users, I shared 3 directory. With an other user, I uploaded in a shared directory, ok fine, it works. BUT !!! In this use case, I had bad performance… again…
Summary : 1 bucket configured as Primary Storage, 3 directory, so NextCloud created 1 bucket per user/directory.
When a other user upload a file → bad performance. When it’s the owner directory user uplaod file → better performance.
(sorry about my bad english)
Thanks for your help
Coucou.