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

Re: which is better performing http://localhost/ or file:///myrepo/

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-04-29 21:08:10 CEST

On Fri, April 29, 2005 1:49 pm, Glen said:
> I am running svn in apache. On that machine I have several checkouts
> and I am wondering which will be better performing.
>
> http://localhost/myrepo/
>
> file:///svn_repos/myrepo/
>
>
> I have tried both and found the file: one is quicker for initial
> checkout and anything "large" and the http: is quicker for small updates.
>
> Is this correct? Does anyone have recommendations?

I wonder why http:// would be faster for small updates, I would think
going through Apache would still be slower. Maybe you just don't notice
it when the changeset is very small. Or perhaps you are seeing the cost
of forking the file system layer - while Apache is constantly up and
running and ready to go.

An uneducated guess would have to say that file:// is the most efficent
since a program layer is removed.
Have you read the book on multiple access methods? There are a few
gotchas in there.
         http://svnbook.red-bean.com/en/1.0/ch06s05.html

Cheers,
Chris

-- 
http://www.nesser.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 29 21:11:11 2005

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

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