[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn list -R of medium-size repository takes 10 hours.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-19 12:24:23 CEST

On Aug 18, 2005, at 11:15 PM, Michael Price wrote:

>> Well, an important question is whether that overhead is a
>> constant, or
>> is always similarly proportional to the data size.
>>
>
> Using 60KB of network traffic to show the user 440 bytes is bad
> regardless. All knowing if its constant or not tells us is if we have
> a bad problem or a really bad problem.

This is one of many situations where "being a DAV client" is hurting
the svn client's performance. In DAV-land, the proper way to get a
list of children in a collection (directory) is to do a depth-1
PROPFIND. This has the unfortunate side effect of not just listing
all children, but also all of their properties -- both user-generated
and server-generated ones. All in XML.

If we were to just say "forget it, the svn client isn't a DAV
client" (which has been discussed before), we could make up yet
another custom protocol response/request that only svn and
mod_dav_svn would understand. We're already doing that in many
places where subversion concepts don't line up with WebDAV/DeltaV.
Doing it for the sake of performance gains would be a new policy. I
don't think everyone is (yet) in agreement yet about this.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 19 12:25:21 2005

This is an archived mail posted to the Subversion Dev mailing list.