[Sugar-devel] Datastore rewrite
fgrose at gmail.com
Sat Jun 12 15:07:23 EDT 2010
On Sat, Jun 12, 2010 at 12:57 PM, Bernie Innocenti <bernie at codewiz.org>wrote:
> El Sat, 12-06-2010 a las 11:40 -0400, Benjamin M. Schwartz escribió:
> > It is one thing to say that we need a new datastore, and another to say
> > what the new datastore should look like. I believe we have consensus on
> > the first part, and I'm fairly sure we don't have consensus on the
> I tend to agree with you.
> > For the record, I am pushing a proposal in which no deltas are computed.
> > Files are stored as whole files. Instead, I want each datastore object
> > version to consist of an entire directory. To save space, files that are
> > identical inside multiple objects would only be stored once on disk.
> > allows us to store and launch Activity Bundles directly from the journal.
> > It also allows slight modifications to objects (including activities) to
> > be stored efficiently if the object consists of multiple files and not
> > of them are changed.
> Sounds like a good approach, please ping me to review the spec when it's
Some references here:
Sascha Silbe's Datastore redesign draft with embedded comments from Eben,
Tomeu, & Sascha:
(Sugar Labs account holders may edit this document.)
> As an optimization to reduce the number of inodes and vfs syscalls,
> perhaps it might be worthwhile to let the activity specify whether it
> needs to store one file or a directory with multiple files.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel