OpenMapTile server + leaflet - poor performance

357 views Asked by At

I'd like to use OpenMapTile server with leaflet in my webapp. OpenMapTile server stands on ec2 on AWS. I have also my webapp, that uses leaflet to present data. I'm serving XYZ png tiles in couple of color styles. What I have noticed is, that serving data from own hosted server is much slower then hosting it from services like MaptilerCloud. When I first load map in a particular style, it takes even up to 20 seconds for a full load. Later, searching for another city in a given style is much faster by the way. When I'm pasting a single url to my browser, to fetch a single map-tile from my own server, it loads immediately. Do you know, what can be a problem? Ec2 has CPU usage below 15%, with max 10Gbps network burst bandwidth...

0

There are 0 answers