helium / mappers

Mappers Frontend and API
Apache License 2.0
65 stars 23 forks source link

Update to New Tileserver Endpoint #78

Closed kent-williams closed 2 years ago

kent-williams commented 2 years ago

This PR updates the mappers tileserver endpoint with an entirely new and improved hosting infrastructure. Originally the tileserver was hosted in a single region and querying the main mappers database every time someone loads the mappers site. Although this ensured the data was always the most fresh it could be, it was not scalable, and requests times suffered greatly when the site experienced high visitor counts. The new infrastructure is in multiple regions for redundancies, but mostly important it is now behind a global CDN with a 60 TTL cache. This will provide improved request latency for all our global users as well as allow for considerable spikes in visitors.