[Openstreetmap-dev] Cache the whole world.

Frank Mohr f_mohr at yahoo.de
Fri Feb 17 10:11:38 GMT 2006


just an idea for a slightly different caching schema that might
bring more speed and less empty tiles to the map display

as far as i remember tiles are caches for a certain time and
then deleted, just based on age.
(correct me if i'm wrong)

the database, webserver, proxy logs should give us:
- times with high database server load
- times with high web/proxy sever load
- request distribution for tiles

idea:
1) find the most requested tiles
2) expire tiles that weren't requested for a certain time
   or aren't in the "most wanted" list
3) precreate tiles with a high request rate at times
   where database serverload is usually low
4) (3) combined with this idea
http://www.openstreetmap.org/wiki/index.php/REST#Fetch_only_modified_data
   (don't know which protocol the tile server uses to communicate to
   the database), would make it possible to recrate only those tiles
   where the database content has changed

frank

	

	
		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de





More information about the dev mailing list