by perrygeo · 2w ago · 0 comments
My experience with it is ... ok. It works. But going directly to cloud storage (s3 in my case) is unpredictable latency and neither the browser nor most servers really cache HTTP range requests granularly, so every tile is another high-latency round trip. Not worth it - I ended up putting Martin tile server in front of it.
I assume someone could write a protomaps adapter in WASM with some smart caching? Until then, Standard GET requests are just easier to cache and perform much better in practice. The downside being you have to run a server or statically generate files.
So you settled on the same solution I did. Run a web service to translate ZXY tiles to HTTP range requests.
The OP was talking about HTTP range requests directly from the client.
https://docs.protomaps.com/deploy/aws perhaps? That's a nice setup but worth noting you're running a web service (Lambda) to translate and cache ZXY HTTP requests to s3 range requests. Much like the Martin web server I settled on.
The OP was talking about making HTTP range requests directly from the client, which is a much different beast.