[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: Branko ─îibej <brane_at_wandisco.com>
Date: Sat, 13 Oct 2012 10:36:46 -0400

On 13.10.2012 10:17, Julian Foad 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 was wondering about the same thing. The short answer is that it
depends on the underlying filesystem, and that hardly seems good enough.
At the very least, these files stored in shards if the filesystem itself
is sharded.

-- Brane

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-10-13 16:37:23 CEST

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