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

Re: caching proxies and SVN network perf

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-10-24 17:58:42 CEST

Brian Behlendorf <brian@collab.net> writes:
> Bob has a SVN tree with a file foo.c, v1.5.
> Jane has a SVN tree with a file foo.c, v1.6.
> The current repository has been updated, and has v1.7.
>
> I do an update. I get the diff(1.5,1.7) long-distance from the central
> server, and that is cached by the proxy.
>
> Jane does an update. SVN determines she needs diff(1.6,1.7), the cache
> sees it doesn't have that, and gets it long-distance from the central
> server.
>
> This isn't optimal, since the proxy already "has" that delta.

I don't think it does have that delta, actually.

There could be a change in the 1.6-1.7 delta that is simply not
present in the 1.5-1.7 delta. For example:

   1.5-->1.6: adds line L
   1.6-->1.7: deletes line L, but adds character X elsewhere
   1.5-->1.7: just adds character X, therefore

There is no way the cache can deduce 1.6-1.7 from 1.5-1.7.
Received on Sat Oct 21 14:36:12 2006

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.