4 ms·
> Using titiler on lambda with COGs stored on S3 we could get about 200ms load of a retina resolution map. Since Lambda presumably has a separate GDAL RAM cach
by neuronexmachina 4y ago
> Using titiler on lambda with COGs stored on S3 we could get about 200ms load of a retina resolution map.
Since Lambda presumably has a separate GDAL RAM cache for each request, I'm guessing this wasn't able to take advantage of any of GDAL's header or block caching? It's pretty impressive you were able to get latencies that low with that approach.
- __turbobrew__ 4y agoThe big performance gains of GDAL in this configuration is HTTP2 multiplexing to S3 and TCP keepalives. When a tile request is sent to the lambda tiler it should already have a TCP/TLS connection open to S3 which can then be used to multiplex requests.
- neuronexmachina 4y agoThat makes sense, thanks!