Key-value storage [was "add a new packed repository extension"]

Greg Ward greg at gerg.ca
Thu Jul 5 14:27:55 CDT 2012


On 03 July 2012, Bryan O'Sullivan said:
> I did a quick test yesterday, using bsddb to store the mappings from revlog
> file name to offset and size within the pack. That improved read
> performance from a severe bottleneck to negligible, but bsddb is not
> something I trust. It's unportable (not available on OS X), prone to bugs,
> and requires manual recovery after some kinds of crashes.

Have you looked at Kyoto Cabinet (http://fallabs.com/kyotocabinet/).
I've read the web page, and it sounds great! Python wrappers already
exist, so that's a help.

(All software sucks, except the one you haven't tried yet. "Surely the
*next* attempt at inventing this wheel will get it right...")

       Greg


More information about the Mercurial-devel mailing list