[OSM-talk] Live Data - all new Data in OSM

Frederik Ramm frederik at remote.org
Wed May 13 00:36:14 BST 2009


Hi,

Tom Hughes wrote:
> Anybody trying such a stunt will be liable to summary blocking when 
> caught however.

I was waiting for that ;-)

To be just slightly more constructive, the least invasive way of 
querying the API for new data only without changing the code would be to 
make multi-GETs for batches of object IDs just above the highest known 
object ID. That would probably not disrupt services if done by one user, 
but then if one user is allowed to do it, what can we say if 10 others 
wanted to do the same?

Probably the best way to have a live feed - and a technique that has 
been discussed on dev about two years ago - would be to have the rails 
code log all successful database operations into a file which could then 
be retrieved by an independent daemon and fed into whatever distribution 
network you want. That would be about the same thing that database 
replication does, just on a higher level.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the talk mailing list