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

Re: Experiences of a Subversion FS backend developer

From: Greg Stein <gstein_at_gmail.com>
Date: Thu, 1 Apr 2010 14:47:33 -0400

On Thu, Apr 1, 2010 at 08:17, Julian Reschke <julian.reschke_at_gmx.de> wrote:
> On 31.03.2010 21:20, C. Michael Pilato wrote:
>> ...
>>   - "WebDAV sucks.  Period."
>> ...
> Out of curiosity: what's the relation to writing a Subversion FS backend?

It isn't really WebDAV, but more about HTTP, and it being a stateless
protocol. Any given request could hit one of a (large) number of
backends. Any caching that you might want to try goes right out the
window (any state you hold can be changed by N other backends). This
also means that buffering writes is very difficult, too.

Batching operations into a single HTTP request could be very helpful.

Jon suggested that a commit becomes one large POST with all of the
metadata, and then N parallel PUTs with content. Thus, the hard work
can be batched to one backend server, and sucking up the content can
be parallelized across the server farm.

Received on 2010-04-01 20:48:01 CEST

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