Changes between Version 1 and Version 2 of Ticket #17870, comment 2


Ignore:
Timestamp:
2019-07-01T01:01:16+02:00 (7 years ago)
Author:
The111

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17870, comment 2

    v1 v2  
    11I was mistaken, it is indeed network IO slowness. In my test setup where I swapped to Apache Commons Imaging, I dug down deeper inside the source, and all the slowness is happening inside InputStream#read.
    22
    3 If I load a lot of tiles in busy map areas, the anywhere from 1 to 5sec is spent reading from the http input stream for each tile.
     3If I load a lot of tiles in busy map areas, anywhere from 1 to 5sec is spent reading from the http input stream for each tile.
    44
    55Whereas browsing openstreetmap.org with a browser, http requests to the same URL complete in 100-500ms (10x faster). Maybe they are throttling our User-Agent and this is all by design? In which case I apologize for the noise.