You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Nicolas Delsaux <ni...@gmail.com> on 2012/03/29 11:59:32 UTC

[vfs] Slow WebDAV

Hi,
i'm trying to use Commons-VFS WeBDAV filesystem in conjunction with a  
Glassfish WebDAV servklet (as I documented here :  
http://stackoverflow.com/questions/9920816/how-to-have-my-webdav-client-server-go-faster).

As it appears, the WebDAV writing on server (which appear to happen during  
the FileObject#close()) method is extremly slow. I did a quick profiling  
using NetBeans and found outthat jackrabitt-webdav seems to  
download/parse/analyze a bunch of DTDs when receiving the server answer,  
which, too my mind, may be a reason why those operations are so damn slow  
(181 s. to write then read a 2 KB files on a localhost server).

So, what can I do to fasten WebDAV operations ?

-- 
Nicolas Delsaux

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [vfs] Slow WebDAV

Posted by Ralph Goers <ra...@dslextreme.com>.
Did your profiling happen to tell you which Jackrabbit classes and methods were involved?  

Ralph

On Mar 29, 2012, at 2:59 AM, Nicolas Delsaux wrote:

> Hi,
> i'm trying to use Commons-VFS WeBDAV filesystem in conjunction with a Glassfish WebDAV servklet (as I documented here : http://stackoverflow.com/questions/9920816/how-to-have-my-webdav-client-server-go-faster).
> 
> As it appears, the WebDAV writing on server (which appear to happen during the FileObject#close()) method is extremly slow. I did a quick profiling using NetBeans and found outthat jackrabitt-webdav seems to download/parse/analyze a bunch of DTDs when receiving the server answer, which, too my mind, may be a reason why those operations are so damn slow (181 s. to write then read a 2 KB files on a localhost server).
> 
> So, what can I do to fasten WebDAV operations ?
> 
> -- 
> Nicolas Delsaux
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org