In a voluntary work project I have set up multiple owncloud instances for different purposes with slight differences (e.g. quota, sso, backup cycles). The users log-in via sso on one instance where they have their user home and the shares where they have permissions are added to their home from federated instances. The data directory of each instance lies on a gluster share.
Everything works as expected but is quite slow. This is no surprise. As far as I understand, when a file gets uploaded, it will be put into the user’s upload folder and then moved to the destination. Unless it’s a federated share. Then after the file’s in the upload folder, it’ll be uploaded to the upload folder of the user who shared and then moved to the destination. This results in a very slow, more or less half the upload speed. This makes perfectly sense in a multi-site environment. But when the servers are in the same LAN, connected through 10Gb-links, is there any way to improve the speed?
I’ve followed all the ownCloud Server Tuning recommendations. Uploaded files with or without enabled clamav and redis.
Thanks a a lot in advance for any ideas how we could improve the performance.
Steps to reproduce
- set up two owncloud instances
- federate them
- share one folder to a user on the other instance
- upload files to the share
Upload speed to the share is slightly slower than uploading to the instance directly logged in.
It’s very much slower.
Postgresql 11.4 on an external server.
ownCloud version: (see ownCloud admin page)
Are you using external storage, if yes which one: local/smb/sftp/…
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
sociallogin 1.11.1 authentication app with keycloak on the instance where the users log in