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

Re: New HTTP Protocol (was re: svn commit: r33365)

From: David Glasser <glasser_at_davidglasser.net>
Date: Wed, 1 Oct 2008 16:35:14 -0700

On Wed, Oct 1, 2008 at 7:31 AM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> Ben Collins-Sussman wrote:
>> On Tue, Sep 30, 2008 at 7:27 PM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
>>> Mark Phippard wrote:
>>>> Hey, couldn't we ditch wc-props too? I imagine/hope the new WC would
>>>> do this too though. As I said, I think this is a great idea and even
>>>> overdue.
>>> wc-props are optional -- we could ditch them today.
>>
>> ...at the cost of making ra_neon even slower. :-)
>
> Not if we simply dispense with this nonsense of treating the !svn URLs as
> opaque and mysterious.

Note that there are some nice things about the opacity. Given that
you're using a stateless protocol like HTTP to implement a stateful
protocol, it can be convenient to make commits have session affinity;
there's a pretty easy way to hack mod_dav_svn right now to include an
extra token in the URL which your load-balance could use to make
commits have session affinity. (I think we've considered doing this
for code.google but haven't.)

Of course, this is only necessary because the current protocol
implements an atomic commit as a series of independent HTTP requests,
which would hopefully be avoided by a new protocol.

--dave

> And another easy-win speedup would be for our DAV clients to stop using 12
> PROPFINDS to do simple URL negotation -- we could have long ago written a
> custom REPORT to answer those kinds of questions in a single turnaround.
>
> --
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Distributed Development On Demand
>
>

-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-02 01:35:31 CEST

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.