Closed
Description
Unfortunately, making range requests in 80 GB files just doesn't work in production. It is fine for files smaller than 500 MB, but it has terrible latency and caching issues for full planet datasets.
If PMTiles implements splitting to <10 MB files, it can be a valid alternative to running servers.
Can you add more information on what you claim in the README here?
I made this test script on a 100GB+ full planet dataset:
curl -H "Range: bytes=0-100000" https://overturemaps-tiles-us-west-2-beta.s3.amazonaws.com/2024-07-22/buildings.pmtiles --output tmp -w "%{time_total}"
curl -H "Range: bytes=100000000000-100000100000" https://overturemaps-tiles-us-west-2-beta.s3.amazonaws.com/2024-07-22/buildings.pmtiles --output tmp -w "%{time_total}"And I get identical timing results, including SSL handshake etc.
I understand specific storage providers like https://pmtiles.io/?url=https%3A%2F%2Fdata.source.coop%2Fprotomaps%2Fopenstreetmap%2Ftiles%2Fv3.pmtiles may have high latency - I'll investigate that case, but it shouldn't be true across every static storage provider.
Metadata
Metadata
Assignees
Labels
No labels