[Tilesathome] Proposal: Keeping tileset as one file

Frederik Ramm frederik at remote.org
Thu Jun 26 09:37:41 BST 2008


Hi,

> So users could upload tar, cpio, ar or whatever uncompressed archive
> they have as long as the indexer scanning the upload is capable of
> parsing. The data of the client would not be modified but simply indexed
> and moved to the storage.

If client A uploads a tar with tiles 1, 2, 3, and later B uploads a tar 
with tiles 10, 11, 3, then you have two choices:

1. store both tar files, overwrite the index entry for tile 3; but then 
you store more than necessary plus you need some kind of garbage 
collection that throws away client A's tar file once all of its tiles 
are overwritten

2. replace the tile in-place in A's archive, which would require taking 
apart both tar files and re-assembling them.

Bye
Frederik





More information about the Tilesathome mailing list