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

Re: Slow performance using http:// vs. svn://

From: David Ferguson <ferguson.david_at_gmail.com>
Date: 2007-04-02 21:56:16 CEST

Hmm.. that makes sense that WebDAV would be slower. 2X slower is a pretty
stiff penalty though.

I have not tried the Serf client library. I didn't even know that was an
option until I read your post. From my research on the Serf web site and
the "Serf and Subversion" thread on dev@svn, it looks like Serf support made
it in to svn 1.4.3. Is Serf 0.1.0 what I should be linking with? Or do I
need the latest development version of Serf?

The libsvn_ra_serf/README states "Basic authentication" is supported. Not
sure if that includes more complicated providers like LDAP. Does anyone has
experience with this?

Has anyone done a real-world performance comparison with Serf vs. Neon?

thanks,
David

On 4/2/07, Erik Huelsmann <ehuels@gmail.com> wrote:
>
> On 4/2/07, David Ferguson <ferguson.david@gmail.com> wrote:
> > Hi all,
> >
> > I am working with my company's IT department to setup a Subversion
> server so
> > that we can evaluate switching from CVS to Subversion. IT would like us
> to
> > use an Apache server for repository access. However, the performance is
> > pretty bad compared to just running svnserve. A fresh checkout using
> > http:// takes 3:24 while checking out the same repository using svn://
> takes
> > 1:47. At first I suspected that Apache's LDAP authentication was
> slowing
> > things down, but I had them disable authentication with little change in
> the
> > checkout time.
> >
> > Any idea why http:// would be so much slower than svn:// ? Is this
> > expected? Can you recommend any change to the Apache configuration to
> speed
> > things up?
>
> The svn protocol is statefull and tailored for use by svn.
>
> The HTTP protocol is stateless and defined as the more general-use
> WebDAV protocol.
>
> So, yes, because of these reasons (and some others), there's an
> expected speed difference in favor of svn://. How big it should be or
> whether your config can be tweaked better, I don't know.
>
> I'm not sure Serf supports LDAP, but have you tried performance checks
> with the Serf HTTP client library? There should be measurable
> performance benefits from using Serf.
>
>
> bye,
>
> Erik.
>
Received on Mon Apr 2 21:56:39 2007

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.