root/tags/1.05/doc/todo.txt

Revision 80, 1.0 kB (checked in by bradfitz, 3 years ago)
  • merge in the refactoring branch, in which a lot of long-standing pet peeves in the design were rethought/redone.
Line 
1Chunk description in .bracup file:
2  Chunks:  offset;raw_length;stored_length;typed_digest
3Proposal to change:
4  Chunks:  offset;raw_length;stored_length;typed_digest(stored);typed_digest(raw);flags
5
6Where flags is comma separate list of \w+.  e.g.  "gz" for gzip compression
7
8------
9
10Document:  purpose of chunks named by their final digest is twofold:
11   1) can verify integrity of storage medium.  is it corrupt?
12   2) hides proof of ownership of contents (when encrypted)
13side-effect:
14   -- when we do compression, we'll be consistent and store it as its
15      compressed digest, even if not encrypted as well.
16
17---
18
19Maybe we don't need per-chunk meta files:
20   -- can get it all from .brackup (meta)files on the server.
21      (TODO: abstract out parser for multiple users)
22
23---
24
25smart chunk-sizing on certain files w/ metadata and data separate:
26like mp3 files and their id3.  have a smart chunker that's the data
27part vs. the id3 part, so updating id3 later doesn't reupload the
28entire data part.  :-)
Note: See TracBrowser for help on using the browser.