microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Please add the option to upload files chunks in parallel to improve upload speed for OneDrive
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Is your feature request related to a problem? Please describe.
I'm always frustrated with the poor upload speed of OneDrive when using the LargeFileUploadTask as explained in the MS Documentation. Even on my fiber adsl, capable of 250Mbps upload speed (≈30Mbytes/s) the file is uploaded at 2-3 Mbyte/s.
This is true even on platforms other than Windows, like Mac, iOS or Android.
Describe the solution you'd like
The solution I propose is to allow multi chunks uploads in parallel with a new Task called LargeFileParallelUploadTask. This should be able to open multiple simultaneous connections to the server and upload many chunks in parallel, filling the available user upload bandwidth.
Describe alternatives you've considered
An alternative that my clients mention is to use the OneDrive web client browser, that for some reason is much faster (I tested it and it uploads at a speed of 27.8 Mbyte/s , saturating my upload bandwidth). Some clients are reclutant to use my apps because they are slower compared to the OneDrive web client browser. The only thing that keep them using my apps is the ability to schedule automatic backups, an ability missing from the browser.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the LargeFileUploadTask behavior described in the Microsoft Graph large-file upload documentation and compare it with the proposed LargeFileParallelUploadTask. Determine how parallel chunk connections should coordinate uploads and completion, then verify that the new task can improve throughput without breaking large-file upload behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100