Talk:Tiles@home/Distributed Server

From OpenStreetMap Wiki
Jump to: navigation, search

P2P : Why dont use p2p client to store the tiles?


  • easy to store
  • large bandwith


  • how can be displayed the tiles into a web-browser?
  • how to handle updated tiles, tile version managment

Uhh, this is P2P... (multiple servers passing data between themselves, data stored on whichever machines happen to be available at any given time) Ojw 22:24, 18 July 2007 (BST)

IMHO, the P2P can be used only for the data exchange between servers, not in the communication with the client. Idea: when a new server arrives (or a new tile to distribute between servers) it starts a P2P download (bittorrent?) and stays seeder next. Simpler solution: look at a P2P filesystem shared between all servers. Guyou 16:02, 1 August 2007 (BST)


Instead of using DNS trick, why not simply use the HTTP redirect feature? Idea:

  1. all the tile's clients request the same server,
  2. this server decides which real tile's server will reply,
  3. so, it returns a HTTP redirect response,
  4. in turn, the client transparently requests the real server.

Guyou 16:14, 1 August 2007 (BST)


  1. Will depend on one server (if not using some loadbalancer)
  2. Inefficient, unnecessary webtraffic
  3. Slower, slower to get tiles
  4. No redirectcode needed for client


  1. No codechange in viewers to select download server
  2. Another way to do the same thing, keep everyone happy
  3. Can change region to host more dynamicly (DNS I use have 1024 predefined zones at zoom 5)

It will work but DNS is better for this I think. --Jth 17:24, 1 August 2007 (BST)

Regional server

It is possible (probable) that future contributors cannot host the whole world on their shared server.

One solution could be to use a protocol where, when a server registers itself at the master server, it declares which region it wants to host. This region is a square (or list of squares) in level12 tiles unit.

For example, I will be able to plug a really small server hosting only France (or even smaller: my living region).

Guyou 16:25, 1 August 2007 (BST)

Using cloud services?

Just for curiosity: is it worth thinking about using cloud services like google app engine?
for example says that google provides 500mb space and cpu/bandwidth for 5million PI/month.

Possibly the Terms of Services might exclude doing rednering for OSM - but I haven't yet check the ToS in detail. (sorry, forgot to sign the entry) --Locked 19:21, 22 November 2010 (UTC)