Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Lambda-warming route to Tilegarden #702

Closed
KlaasH opened this issue Feb 6, 2019 · 1 comment
Closed

Add a Lambda-warming route to Tilegarden #702

KlaasH opened this issue Feb 6, 2019 · 1 comment
Assignees
Labels

Comments

@KlaasH
Copy link
Contributor

KlaasH commented Feb 6, 2019

Whatever we decide to do for #701, we'll need a route in Tilegarden to hit for warming up Lambda instances. It's possible we'll want it to wait briefly before returning so that launching a handful of concurrent warming requests consistently results in a handful of concurrent instances.

@KlaasH
Copy link
Contributor Author

KlaasH commented Feb 18, 2019

As described on PR #712, this was implemented (https://github.com/azavea/pfb-network-connectivity/tree/feature/kjh/lambda-warming-endpoint) but ended up being more trouble than it's worth compared to the simpler scheduled warming approach. The implemented setup only involves a bit of code in the Lambda and a rule in CloudWatch, whereas an endpoint-based approach would require all of that plus more code in the Lambda and the back-end, plus database persistence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants