HI,

I have a problem of performance on the upload of file;

After benchmarks,I noticed that the upload of file with this class:

RestletFileUpload upload = new RestletFileUpload(factory);           
List items = upload.parseRequest(request); 
--> request is of type org.restlet.data.Request
the upload make between (70 and 125 ms) for a file of size 80 kb.

The upload of the same file with
ServletFileUpload upload = new ServletFileUpload(factory);
List items = upload.parseRequest(request); 
--> request is of type javax.servlet.http.HttpServletRequest
the upload make between (15 et 20 ms) for a file of size 80 kb.

can you help me please because the time spent to the upload raises me grave
problems of performance on my application which has to support a post multipart
all 20 ms.

thanks,

lotfi

Reply via email to