The serverless map stack lives
summary
A serverless vector-tile stack is practical: a Tegeler lambda shim packages a GeoPackage into a Lambda ZIP, writes tiles to S3, and shows cold starts around 0–2s for Lambda; pairing Aurora Serverless Postgres lets the DB scale-to-zero but incurs Aurora Serverless scale-to-zero cold starts of ~30–45s unless kept warm, while Aurora handles ~4,000 concurrent connections in tests. A better CDN pattern is CloudFront -> S3 with a 307 redirect to API Gateway on misses, making this approach useful for dev, testing, and tile seeding but cautious for production.
AI-written summary · about
chapters (14)
- 0:00Introduction and background
- 1:04What is serverless computing
- 2:32Serverless vector maps overview
- 4:16Lambda with Tegola and GeoPackage
- 6:02Architecture of Lambda-Tegola-S3
- 7:50Pros and cons of Lambda-Tegola
- 9:15Aurora Serverless Postgres
- 10:17Architecture with Aurora Serverless
- 12:46Pros and cons of Aurora Serverless
- 13:29Content delivery networks for maps
- 15:57CDN and tile cache strategy
- 16:19When to use serverless map stacks
- 17:44Production recommendations
- 19:32Q&A and future announcements
