<div class="gmail_quote">On Sat, Jun 12, 2010 at 12:57 PM, Bernie Innocenti <span dir="ltr"><<a href="mailto:bernie@codewiz.org">bernie@codewiz.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
El Sat, 12-06-2010 a las 11:40 -0400, Benjamin M. Schwartz escribió:<br>
> It is one thing to say that we need a new datastore, and another to say<br>
> what the new datastore should look like. I believe we have consensus on<br>
> the first part, and I'm fairly sure we don't have consensus on the second.<br>
<br>
I tend to agree with you.<br>
<br>
> For the record, I am pushing a proposal in which no deltas are computed.<br>
> Files are stored as whole files. Instead, I want each datastore object<br>
> version to consist of an entire directory. To save space, files that are<br>
> identical inside multiple objects would only be stored once on disk. This<br>
> allows us to store and launch Activity Bundles directly from the journal.<br>
> It also allows slight modifications to objects (including activities) to<br>
> be stored efficiently if the object consists of multiple files and not all<br>
> of them are changed.<br>
<br>
Sounds like a good approach, please ping me to review the spec when it's<br>
available.<br></blockquote><div><br></div><div>Some references here:</div><div><a href="http://wiki.sugarlabs.org/go/Design_Team/Proposals/Journal">http://wiki.sugarlabs.org/go/Design_Team/Proposals/Journal</a> </div><div>
<br></div><div>Sascha Silbe's Datastore redesign draft with embedded comments from Eben, Tomeu, & Sascha:</div><div><a href="https://docs.google.com/a/sugarlabs.org/Doc?docid=0AUl2E5uTm959ZGd3N3FucXdfMWhzbjVjeGht&hl=en">https://docs.google.com/a/sugarlabs.org/Doc?docid=0AUl2E5uTm959ZGd3N3FucXdfMWhzbjVjeGht&hl=en</a></div>
<div>(Sugar Labs account holders may edit this document.)</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
As an optimization to reduce the number of inodes and vfs syscalls,<br>
perhaps it might be worthwhile to let the activity specify whether it<br>
needs to store one file or a directory with multiple files.</blockquote></div>