Closed paya-cz closed 7 years ago
@paya-cz thanks for the benchmark info, it is very useful. Unfortunately we don't have any API support uploading batch of files at once. I agree with you the uploading right now is not efficient and it is due to the bottleneck at the API side so there is no improvement I can imagine on the client side. We are working on improving the API uploading performance and I will upgrade to it once the API is updated.
I have benchmarked the SDK by uploading/downloading a total of 64 MiB in various-sized files and these are the results:
Does the SDK make proper use of HTTP pipelining? The upload of 4 KiB chunks is really slow. Is there anything there can be done about this client-side? Maybe this could be solved by adding an API which allows for uploading a batch of files at once? Something like uploading a big .zip file and telling the OneDrive service to extract it in the destination upon transfer completion.