[OSM-talk-be] POIs

Jo winfixit at gmail.com
Mon Jul 27 16:56:45 UTC 2015


In the case of Openstreetmap (and of Google), this is 1 entity which have
several servers.
In the case of Overpass API, these are different parties running (possibly
different versions) of the same software. They may have different policies
for updating the data or for the region they deliver services for.

For software/services where this doesn't matter, it's still possible to try
and use the servers with a fallback system. If one doesn't answer, try
another.

Jo

2015-07-27 18:47 GMT+02:00 André Pirard <a.pirard.papou at gmail.com>:

>  On 2015-07-25 22:01, Marc Zoutendijk wrote :
>
>  Recently OSMF asked for money to support their servers and within short
> time they collected that money from the community.[1]
> Don't you think that if a service (like overpass) is succesfull and really
> needed, they should do everything possible to improve that service and keep
> it for the community?
>
> This is already possible somehow for no money.
> It might be suggested that all the servers running overpass be accessed
> with a single DNS name like overpass.openstreetmap.org that would
> contain, with a short TTL,  the IP addresses, or, better, the true names of
> all the overpass servers that can be used.
> This would not only balance the load across the servers, but also free the
> developers from updating their applications when servers close or open (and
> get removed from/added to that list), and let the application continue to
> work if a server is temporarily unavailable (an application is supposed to
> try all the IP addresses until they get a reply).
>
> I guess the person to ask directly is (if he replies):
>
> $ dig openstreetmap.org SOA
>
> ;; ANSWER SECTION:
> openstreetmap.org.    2560    IN    SOA    a.ns.bytemark.co.uk. *hostmaster.openstreetmap.org
> <http://hostmaster.openstreetmap.org>*.
>
>
> That is what OSM.org already does with 3 servers (addresses in bold):
>
> $ dig www.openstreetmap.org A @a.ns.bytemark.co.uk
>
> ; <<>> DiG 9.8.1-P1 <<>> www.openstreetmap.org A @a.ns.bytemark.co.uk
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26370
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 3, ADDITIONAL: 7
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;www.openstreetmap.org.        IN    A
>
> ;; ANSWER SECTION:
> www.openstreetmap.org.    600    IN    A    *193.63.75.103*
> www.openstreetmap.org.    600    IN    A    *193.63.75.99*
> www.openstreetmap.org.    600    IN    A    *193.63.75.100*
>
> ;; AUTHORITY SECTION:
> openstreetmap.org.    259200    IN    NS    a.ns.bytemark.co.uk.
> openstreetmap.org.    259200    IN    NS    b.ns.bytemark.co.uk.
> openstreetmap.org.    259200    IN    NS    c.ns.bytemark.co.uk.
>
> ;; ADDITIONAL SECTION:
> a.ns.bytemark.co.uk.    86400    IN    A    80.68.80.26
> a.ns.bytemark.co.uk.    86400    IN    AAAA    2001:41c8:2::3
> a.ns.bytemark.co.uk.    86400    IN    A    80.68.80.26
> b.ns.bytemark.co.uk.    86400    IN    A    85.17.170.78
> c.ns.bytemark.co.uk.    86400    IN    A    80.68.80.27
> c.ns.bytemark.co.uk.    86400    IN    AAAA    2001:41c8:2::5
> c.ns.bytemark.co.uk.    86400    IN    A    80.68.80.27
>
> ;; Query time: 47 msec
> ;; SERVER: 80.68.80.26#53(80.68.80.26)
> ;; WHEN: Mon Jul 27 18:09:22 2015
> ;; MSG SIZE  rcvd: 288
>
> and Google with 36 servers ...
>
> Cheers
>
>   André.
>
> $ dig mts.google.com @ns1.google.com
>
> ; <<>> DiG 9.8.1-P1 <<>> mts.google.com @ns1.google.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21896
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;mts.google.com.            IN    A
>
> ;; ANSWER SECTION:
> mts.google.com.        604800    IN    CNAME    mts.l.google.com.
> mts.l.google.com.    300    IN    A    194.78.0.231
> mts.l.google.com.    300    IN    A    194.78.0.224
> mts.l.google.com.    300    IN    A    194.78.0.244
> mts.l.google.com.    300    IN    A    194.78.0.217
> mts.l.google.com.    300    IN    A    194.78.0.223
> mts.l.google.com.    300    IN    A    194.78.0.245
> mts.l.google.com.    300    IN    A    194.78.0.230
> mts.l.google.com.    300    IN    A    194.78.0.251
> mts.l.google.com.    300    IN    A    194.78.0.210
> mts.l.google.com.    300    IN    A    194.78.0.237
> mts.l.google.com.    300    IN    A    194.78.0.238
> mts.l.google.com.    300    IN    A    194.78.0.216
>
> ;; Query time: 41 msec
> ;; SERVER: 216.239.32.10#53(216.239.32.10)
> ;; WHEN: Mon Jul 27 18:21:45 2015
> ;; MSG SIZE  rcvd: 244
>
> $ dig mts0.google.com @ns1.google.com
>
> ; <<>> DiG 9.8.1-P1 <<>> mts0.google.com @ns1.google.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36260
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;mts0.google.com.        IN    A
>
> ;; ANSWER SECTION:
> mts0.google.com.    604800    IN    CNAME    mts.l.google.com.
> mts.l.google.com.    300    IN    A    194.78.0.146
> mts.l.google.com.    300    IN    A    194.78.0.167
> mts.l.google.com.    300    IN    A    194.78.0.173
> mts.l.google.com.    300    IN    A    194.78.0.159
> mts.l.google.com.    300    IN    A    194.78.0.174
> mts.l.google.com.    300    IN    A    194.78.0.153
> mts.l.google.com.    300    IN    A    194.78.0.166
> mts.l.google.com.    300    IN    A    194.78.0.187
> mts.l.google.com.    300    IN    A    194.78.0.152
> mts.l.google.com.    300    IN    A    194.78.0.180
> mts.l.google.com.    300    IN    A    194.78.0.181
> mts.l.google.com.    300    IN    A    194.78.0.160
>
> ;; Query time: 42 msec
> ;; SERVER: 216.239.32.10#53(216.239.32.10)
> ;; WHEN: Mon Jul 27 18:23:41 2015
> ;; MSG SIZE  rcvd: 245
>
> $ dig mts1.google.com @ns1.google.com
>
> ; <<>> DiG 9.8.1-P1 <<>> mts1.google.com @ns1.google.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50033
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;mts1.google.com.        IN    A
>
> ;; ANSWER SECTION:
> mts1.google.com.    604800    IN    CNAME    mts.l.google.com.
> mts.l.google.com.    300    IN    A    194.78.99.24
> mts.l.google.com.    300    IN    A    194.78.99.31
> mts.l.google.com.    300    IN    A    194.78.99.52
> mts.l.google.com.    300    IN    A    194.78.99.53
> mts.l.google.com.    300    IN    A    194.78.99.38
> mts.l.google.com.    300    IN    A    194.78.99.59
> mts.l.google.com.    300    IN    A    194.78.99.46
> mts.l.google.com.    300    IN    A    194.78.99.18
> mts.l.google.com.    300    IN    A    194.78.99.32
> mts.l.google.com.    300    IN    A    194.78.99.45
> mts.l.google.com.    300    IN    A    194.78.99.25
> mts.l.google.com.    300    IN    A    194.78.99.39
>
> ;; Query time: 41 msec
> ;; SERVER: 216.239.32.10#53(216.239.32.10)
> ;; WHEN: Mon Jul 27 18:24:30 2015
> ;; MSG SIZE  rcvd: 245
>
> $ dig mts2.google.com @ns1.google.com
>
> ; <<>> DiG 9.8.1-P1 <<>> mts2.google.com @ns1.google.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42206
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;mts2.google.com.        IN    A
>
> ;; ANSWER SECTION:
> mts2.google.com.    604800    IN    CNAME    mts.l.google.com.
> mts.l.google.com.    300    IN    A    194.78.99.174
> mts.l.google.com.    300    IN    A    194.78.99.187
> mts.l.google.com.    300    IN    A    194.78.99.146
> mts.l.google.com.    300    IN    A    194.78.99.180
> mts.l.google.com.    300    IN    A    194.78.99.167
> mts.l.google.com.    300    IN    A    194.78.99.160
> mts.l.google.com.    300    IN    A    194.78.99.159
> mts.l.google.com.    300    IN    A    194.78.99.166
> mts.l.google.com.    300    IN    A    194.78.99.173
> mts.l.google.com.    300    IN    A    194.78.99.153
> mts.l.google.com.    300    IN    A    194.78.99.152
> mts.l.google.com.    300    IN    A    194.78.99.181
>
> ;; Query time: 43 msec
> ;; SERVER: 216.239.32.10#53(216.239.32.10)
> ;; WHEN: Mon Jul 27 18:24:42 2015
> ;; MSG SIZE  rcvd: 245
>
> $ dig mts3.google.com @ns1.google.com
>
> ; <<>> DiG 9.8.1-P1 <<>> mts3.google.com @ns1.google.com
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42930
> ;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 0
> ;; WARNING: recursion requested but not available
>
> ;; QUESTION SECTION:
> ;mts3.google.com.        IN    A
>
> ;; ANSWER SECTION:
> mts3.google.com.    604800    IN    CNAME    mts.l.google.com.
> mts.l.google.com.    300    IN    A    194.78.99.245
> mts.l.google.com.    300    IN    A    194.78.99.244
> mts.l.google.com.    300    IN    A    194.78.99.217
> mts.l.google.com.    300    IN    A    194.78.99.237
> mts.l.google.com.    300    IN    A    194.78.99.238
> mts.l.google.com.    300    IN    A    194.78.99.210
> mts.l.google.com.    300    IN    A    194.78.99.231
> mts.l.google.com.    300    IN    A    194.78.99.251
> mts.l.google.com.    300    IN    A    194.78.99.224
> mts.l.google.com.    300    IN    A    194.78.99.216
> mts.l.google.com.    300    IN    A    194.78.99.223
> mts.l.google.com.    300    IN    A    194.78.99.230
>
> ;; Query time: 41 msec
> ;; SERVER: 216.239.32.10#53(216.239.32.10)
> ;; WHEN: Mon Jul 27 18:24:52 2015
> ;; MSG SIZE  rcvd: 245
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Talk-be mailing list
> Talk-be at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-be
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-be/attachments/20150727/902f4059/attachment-0001.html>


More information about the Talk-be mailing list