cancel
Showing results for 
Search instead for 
Did you mean: 

Response Time for File Upload RFC Call

Amey-Mogare
Contributor
0 Kudos

Hi,

I have developed an Web Dynpro JAVA application which calls an RFC to upload a file on SAP R/3 server.

One of the import parameter is of type XSTRING which maps to JAVA type as byte[].

I am using File Upload UI element to select file and pass byte data to RFC.

Now, I tried uploading files with size ranging from 1.5MB to 14.5MB and response time for applications is from 20 seconds to 3 min 50 seconds.

I traced this using Wily IntroScope and it reveals that out of 20 seconds of response time, 17 seconds were consumed by "DispatcherServlet".

Is this normal for a File Upload RFC call to take up this much amount of time? Is there any way to optimize it?

How harmful this is to production environment?

Please help.

Thanks and regards,

Amey Mogare

Accepted Solutions (0)

Answers (2)

Answers (2)

Amey-Mogare
Contributor
0 Kudos

This the normal behavior in case of file upload scenarios.

There's a flow of byte stream from client browser to server which consumes large amount of time, especially when uploading large files.

former_member185086
Active Contributor
0 Kudos

HI

If fesible place this functionality into a seperate Controller , thing will drastically optimize. other way could be zip the file before upload and then upload this file to server (Its a little cumbersome as as you have first zip it unzip at server level)

Best Regards

Satish Kumar