Great, thanks, that all makes much more sense now. Looking forward to seeing more caches coming online.<br><br>Joseph<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 15 November 2012 13:42, Tom Hughes <span dir="ltr"><<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 15/11/12 13:28, Joseph Reeves wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> What sort of documentation? You seem to have already found most of<br>
> the relevant stuff.<br>
<br>
Ok, I didn't know if there was any additional technical documentation or<br>
any more usage stats available. Presumably the DNS bit is pretty<br>
straightforward, and members of the CDN just mirror the original OSM<br>
database.<br>
</blockquote>
<br></div>
There's no mirroring as such - the servers just run squid with the primary tile server as the upstream server.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would be interested in how a user's tileserver is determined, however;<br>
if I'm physically halfway between Sjöbo and Brisbane is my tileserver<br>
decided by a calculated round-trip time to a server, or does it rely on<br>
a simple rule such as "you're in India, so your tiles come from Sweeden"?<br>
</blockquote>
<br></div>
Basically it is determined by this script:<br>
<br>
<a href="http://git.openstreetmap.org/dns.git/blob/HEAD:/bin/mkgeo" target="_blank">http://git.openstreetmap.org/<u></u>dns.git/blob/HEAD:/bin/mkgeo</a><br>
<br>
based on the rules we specify:<br>
<br>
<a href="http://git.openstreetmap.org/dns.git/blob/HEAD:/src/tile.openstreetmap" target="_blank">http://git.openstreetmap.org/<u></u>dns.git/blob/HEAD:/src/tile.<u></u>openstreetmap</a><br>
<br>
So we can restrict a server to only serve specific countries no matter what, as we have for example with the Brisbane server.<br>
<br>
All else being equal the final determinant is distance.<div class="HOEnZb"><div class="h5"><br>
<br>
Tom<br>
<br>
-- <br>
Tom Hughes (<a href="mailto:tom@compton.nu" target="_blank">tom@compton.nu</a>)<br>
<a href="http://compton.nu/" target="_blank">http://compton.nu/</a><br>
</div></div></blockquote></div><br></div>