This is a migrated thread and some comments may be shown as answers.

Time For Upload of Large Files

3 Answers 177 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ayyappa
Top achievements
Rank 1
Ayyappa asked on 04 Jun 2020, 11:23 AM

Hi, 

How much time it will take to upload a large file such as 2GB? 

What would be the best practice to make it faster. More Number of chunks or less number of chunks? 

Concurrent Process or Sequential Process? 

Please help. 

 

3 Answers, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 08 Jun 2020, 09:49 AM

Hi Ayyappa,

The upload of such large file would depend on the current internet connection of the client machine and on the time required to process the data on the server. Indeed, these factors are outside of our reach as the Kendo UI for Angular Upload component is initialized within the client. What we would recommend for such scenario is to use more chunks. That approach would help to limit the possibility of an error while uploading and will allow to resume the upload process from the point where a possible error was thrown. For example if a chunk of 500 mb is uploaded and it fails, then the same chunk will have to uploaded again. If the 500 mb chunk is split in 10 chunks then if the last one fails then only the last chunk will have to be re-uploaded. Please check the following article from our documentation on chunking:

https://www.telerik.com/kendo-angular-ui/components/uploads/upload/chunk-upload/

By default the Upload uses a concurrent upload process. But the [concurrent] input property of the Upload can be set to false in order to disable that default behavior. However using a concurrent or sequential process would be based on the specific requirements of the use-case scenario. We don't recommend one approach over the other as both are different and their usage should be chosen as per the requirements of the project. 

I hope the provided information helps. Please let us know in case any additional information or details are required for this case. Thank you.

Regards,
Svetlin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Ayyappa
Top achievements
Rank 1
answered on 08 Jun 2020, 11:52 AM

Hi, 

Thanks for the reply. Can you tell me in which scenarios we have to use concurrent upload and in which scenarios we have to use sequential upload. 

0
Svet
Telerik team
answered on 10 Jun 2020, 08:00 AM

Hi Ayyappa,

The two types of processing are different in their execution. The concurrent one uploads the files simultaneously, while the sequential one uploads the files one after each other. There are no industry specific scenarios that would require one approach over the other. This is why we also don't recommend using one approach over the other. Indeed, it is up to the developer to chose the desired mode that would best suite the specifics of the scenario. I can further suggest checking some of the online available articles on the topic for some more details:

https://www.aurigma.com/docs/iu/UploadingFilesSequentiallyAndConcurrently.htm

https://www.reddit.com/r/AskComputerScience/comments/8a1ki5/why_are_chunked_parallel_uploads_faster_than_a/

I hope this helps.

Regards,
Svetlin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Upload
Asked by
Ayyappa
Top achievements
Rank 1
Answers by
Svet
Telerik team
Ayyappa
Top achievements
Rank 1
Share this question
or