I need to increase the rendering speed of pg_tileserv for a leaflet map.
I am running pg_tileserv on a digital ocean server with
2cpus, 4GB memory, 25 GB SSD and 4TB transfer
I am serving fairly dense parcel data county and state wide.
I know I can set a min zoom level on the front end in leaflet or in pg_tileserv config files but I need the parcels to be seen at least to zoom 14 on the map.
To serve up the larger parcel sets right now I generating the mbtiles with tippecanoe then serving them with tileserver-gl...its working fairly good but this parcel updates frequently and it takes time to export, generate the tiles and spin up the tleserver-gl
I'd like to avoid using geoserver, had a load of trouble trying to figure out how to setup .pbf on geoserver and I gave up.
Is there anything I can do in the postgres settings to increase rendering speed? and tips to tune pg_tileserv? or increase server transfer speed?