Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues #862

Open
k0shTm opened this issue May 2, 2023 · 2 comments
Open

Performance issues #862

k0shTm opened this issue May 2, 2023 · 2 comments

Comments

@k0shTm
Copy link

k0shTm commented May 2, 2023

I'm having a weird behaviour which probably is working as expected.

Even using the webapp on the basic preview, when I move the map a bit faster or zoom in and out, I can see some parts of the map still have the background colour and waiting to be populated/rendered.
I have tileserver-gl running on a 32 core server with 128gb of ram and he is chilling with no workload.

Is this problem of the client implementation? Although even on the webapp it still shows these delays.
Is there any tune I can do server side as well? According to the app, I average like 1ms per pbf file and I am serving a very small size.

I went through all closed and open issues and I don't see much people complaining about it but I also don't see where I could have failed with this minimal instalation.

@acalcutt
Copy link
Collaborator

acalcutt commented May 3, 2023

you could look at setting the min and max render pool sizes to be closer to your cpu core count. that should make it able to render more in parallel.

https://maptiler-tileserver.readthedocs.io/en/latest/config.html#maxrendererpoolsizes

typically if you are scrolling there are nrw tiles that need to be rendered.

@k0shTm
Copy link
Author

k0shTm commented May 3, 2023

@acalcutt thanks for the feedback. I will definitely try that in a couple of hours.
But that is a solution for raster tiles. I winder, what do the current map box and map tiler and stadia map services deliver for good map performance? Is it vector tiles or raster tiles with better resolution?

I can also in another attempt to pre render raster tiles in my end if that's required.

Edit: I just tested a couple of free implementation and all are using pbf(vector) and they are fluid enough.

https://www.maptiler.com/maps/#style=streets-v2&mode=2d&position=12.3/40.39965/-3.68106 (somewhat good perf although I can still notice the rendering so not 100% fluid)

https://stadiamaps.com/explore-the-map/#map=8.5/52.0661/-1.1011

https://api.mapbox.com/styles/v1/mapbox/light-v11.html?title=true&access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4M29iazA2Z2gycXA4N2pmbDZmangifQ.-g_vE53SD2WrJ6tFX7QHmA#9.77/40.4698/-3.4747

Not sure if the mapbox one will work due to the token but the others do. But the mapbox one is certainly the one with better performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants