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

RadUploader is slow

6 Answers 94 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Jeroen
Top achievements
Rank 1
Jeroen asked on 16 May 2012, 01:22 PM

Hello,

The RadUploader seems to work slower than expected. What are the parameters / settings to look for, to manipulate this file transfer speed? (Of course already considering bandwidth disk speed and CPU of the server)

Kind regards,
Jeroen

6 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 21 May 2012, 12:04 PM
Hello Jeroen,

The speed of the RadUpload control depends on the buffer size as each file is separated in chunks, which get send one by one to the server. The buffer determines the size of the chunks and is measured in bytes. You can control the buffer size either through the RadUpload.BufferSize property or through the maxRequestLength settings applied in the web.config file. You can find more info about both properties here. Controlling these settings will allow you to control the speed of the upload.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jeroen
Top achievements
Rank 1
answered on 21 May 2012, 02:36 PM
I experimented with the RadUpload.BufferSize and maxRequestLength  but my speeds still dont exceed 30KB/sec.
If i use ftp client to upload a 3MB file it takes 4 seconds, waiting a minute and a half with radupload is too much for my end users.

 Are there any other things i can try? 

Regards,
Jeroen 



0
Tina Stancheva
Telerik team
answered on 21 May 2012, 04:18 PM
Hello Jeroen,

I am not sure what might be causing such an issue. If there are no bugger constrains on the upload, it shouldn't slow down the uploading process at all. For example on our side a 4MB file is being uploaded for less than a second. This is why I wanted to ask you to try this demo solution and let us know if the uploading process with it is still slow.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jeroen
Top achievements
Rank 1
answered on 22 May 2012, 09:08 AM
Hi Tina,

I had tried increasing the buffersize before, but apparently not by a large enough amount. I now have it set at 1024000, and that fixed the problem. Could this have any unwanted side-effects though?
0
Accepted
Tina Stancheva
Telerik team
answered on 24 May 2012, 02:21 PM
Hello Jeroen,

No, this shouldn't cause any issues.

Regards,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Jeroen
Top achievements
Rank 1
answered on 25 May 2012, 10:40 PM
Ok, thanks Tina.
Tags
Upload
Asked by
Jeroen
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Jeroen
Top achievements
Rank 1
Share this question
or