nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.22k stars 1.76k forks source link

Parallelize upload/download tasks #10124

Open tobiasKaminsky opened 2 years ago

tobiasKaminsky commented 2 years ago

Currently we do this one by one, but iOS uses 5 parallel upload/downloads.

ayushbhanu commented 2 years ago

@tobiasKaminsky @nextcloud-android-bot is this enhancement still open? i want to work on it.

BluePixel4k commented 6 months ago

Any news on this feature? :)

Currently, uploading a batch of files takes a very long time. A parallel upload would help to improve this.

SodaWithoutSparkles commented 2 months ago

IMHO even zipping/taring the files on the client and upload a big file would be much more efficient than the current (1 by 1) solution. The overhead of constantly starting and stopping is way more resource-intensive for small files (e.g. photos). I can see 30+ MB/s on local network uploading a single video, but less than 1/10 of it when uploading photos.

This shouldnt be too hard to implement either, for all files smaller than X MB. Combining this with parallel uploads/downloads should speed things up a lot.