On 09/04/2019 19:39, Wolfram Schneider wrote:
On Mon, 25 Mar 2019 at 18:16, Wolfram Schneider <wo...@freebsd.org> wrote:

Hi,

I noticed that the standard OSM tile servers
(N.tile.openstreetmap.org) are currently slow.

On the site

   https://mc.bbbike.org/mc/

you will see that OSM is the slowest, and takes at least 5 seconds to
get all tiles. The other servers responses in less than a second.

Downloading a single tile is also always slow:

curl https://b.tile.openstreetmap.org/11/1100/671.png >/dev/null
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
100 41017  100 41017    0     0   7658      0  0:00:05  0:00:05 --:--:--  7146

it seems that there is a delay of 5 seconds until the tile is fully
delivered, and the download rate is at 7Kbyte/s. I tried this from
different locations (Bay Area, NYC, Germany) - the result is always
the same.

it was better in the last week, down to 2-3 seconds. But not it is
slow as hell again and takes more than 6.5 seconds to fetch a single
tile:

time curl -sSf https://c.tile.openstreetmap.org/11/1100/671.png >/dev/null
real 0m6.587s
user 0m0.017s
sys 0m0.009s

you can repeat the request and it is still slow (5+ seconds).

who is in charge of the HTTPS setup for OSM?

Using curl like that will be slow beause you are being put
in a deliberate slow lane when not coming via the web site.

Tom

-Wolfram


PS: if I do not use HTTPS and instead plain old HTTP, it will take
only 0.3 - 0.6 seconds.

Any idea whats wrong with the HTTPS setup for the tile servers?

-Wolfram


--
Wolfram Schneider <wo...@freebsd.org> https://wolfram.schneider.org
Planet.osm extracts: https://extract.bbbike.org
BBBike Map Compare: https://mc.bbbike.org/mc





--
Tom Hughes (t...@compton.nu)
http://compton.nu/

_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to