[Tilesathome] Distributed server idea
Raphaël Jacquot
sxpert at sxpert.org
Fri Jul 20 10:04:08 BST 2007
Frederik Ramm wrote:
> Hi,
>
>> how about using a google-like setup in which there's an index of where
>> things are (sort of like in a file system) which would contain the
>> real urls to things ?
>
> Where would that index reside and how would it be accessed? I sense a
> bottleneck here. - What is so bad about the one-hostname-per-tileset DNS
> solution?
>
> Bye
> Frederik
>
hmm.
the google thing works like this.
each machine holds a cache of things.
when a machine starts up, it holds nothing in cache.
the machine knows of the address of the master index machine.
when the machine has something in it's bowels, it just serves it.
when the thing is not in this machine's cache, it requests the index
with the locations of the things. then it goes ask one of the other
machines that have the thing to give it to it, and stores the thing in
its local cache.
it shouldn't be too hard to implement
More information about the Tilesathome
mailing list