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

Re: r1397773 - rep sharing in a txn - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Sat, 13 Oct 2012 17:38:17 +0200

On Sat, Oct 13, 2012 at 4:17 PM, Julian Foad <julianfoad_at_btopenworld.com>wrote:

> > Author: stefan2
>
> > Date: Sat Oct 13 05:49:50 2012
> > New Revision: 1397773
> >
> > URL: http://svn.apache.org/viewvc?rev=1397773&view=rev
> > Log:
> > Due to public request: apply rep-sharing to equal data reps within
> > the same transaction.
> >
> > The idea is simple. When writing a noderev to the txn folder,
> > write another file named by the rep's SHA1 and store the rep
> > struct in there. Lookup is then straight-forward.
>
> Hi Stefan. What's the scalability? I'm wondering about the big-O
> performance of storing 10000 or 100000 files in the dir.
>

Yes, I don't like putting that many files into a single folder either.
However, we do that already today by creating a file for each
noderev. I.e. my change at worst doubled the number of files in
the txn folder.

-- Stefan^2.

-- 
*
Join us this October at Subversion Live
2012<http://www.wandisco.com/svn-live-2012>
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
today<http://www.wandisco.com/svn-live-2012>
!
*
Received on 2012-10-13 17:38:52 CEST

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