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

Re: node-origins and old servers

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-11-19 17:22:20 CET

David Glasser wrote:
> cmpilato:
>
> So you added this "get node origins" FS API, which is pretty slow
> without the cache we've added.
>
> Which RA APIs end up calling it? Which commands thus end up with a
> big slowdown on pre-1.5 servers?

Today, the only APIs that call it are svn_repos_node_location_segments() and
the svn_ra_get_location_segments wrapper thereof.

The performance situation goes like so for the use of this API.

   Old clients -- well, they don't call the API at all.

   New clients talking to pre-1.5 servers -- these guys have to use the RA
   fallback code, based on 'svn log', which is so very not fast.

   New clients, talking to 1.5 servers -- if the index has a hit for the
   request, this is super fast. Otherwise, we do the slower crawl. But
   the server-side crawl in this case is much faster than the server-side
   crawl in the pre-1.5 server fallback code case, *and* the network
   response is miniscule and precise instead of humongous and requiring
   lots of client-side path-math.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Mon Nov 19 17:22:42 2007

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.