12 ms·
Very good comment and thanks for your work on MVT. I use PostGIS's MVT tools on a daily basis. I do an intermediate approach: my queries are sometimes too expe
by durkie 7y ago
Very good comment and thanks for your work on MVT. I use PostGIS's MVT tools on a daily basis.
I do an intermediate approach: my queries are sometimes too expensive to run dynamically, and my data change semi-frequently (daily/weekly basis), but when they do change I have a clear idea of what tiles are affected. So any time my data needs updating I can mark tiles as stale and then I have a sidekiq job that processes them and uploads them to S3. The tile server itself pulls from S3.
This is probably not quite as fast as a dedicated tile server, but it's far more reliable/responsive than dynamic rendering and reduces load spikes on the database.