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

Re: Large Repositories - related to Re: Issuezilla #1350 -- update

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-07-11 19:44:03 CEST

Philip Martin <philip@codematters.co.uk> writes:

> Philip Martin <philip@codematters.co.uk> writes:
>
> > I see a noticeable delay before receiving files when I checkout a
> > directory containing 1000 files. I'm using apache 2.1.0-dev CVS from
> > March 6.
>
> Not thinking! That should be July 2.

In terms of protocol, here's what should be happening:

 * client sends a REPORT stating that it has an 'incomplete' directory
   with no entries.

 * server builds a tiny transaction tree, and begins a tree-delta
   against the HEAD revision.

 * a REPORT response should immediately begin to stream the tree
   delta, which (in this case) is a humongous list of <add-dir> and
   <add-file> xml elements.

 * the client should immediately start parsing the xml response, and
   doing GETs and PROPFINDS as appropriate.

In this specific case, the report response should begin with an
<add-dir> containing 1000 <add-file> tags. When the client parses the
the <add-dir>, it issues a depth-1 PROPFIND to get the props of all
1000 children. The old mod_dav used to build a huge response to this,
but now it streams instead.

So at this point, I'm really puzzled as to why you're seeing a delay.
I'll see if I can reproduce.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 11 19:46:03 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.