Y
Hacker News
new
|
ask
|
show
|
jobs
by
toomuchtodo
3861 days ago
You could use a scheduled cron task in Lambda to make requests to keep your API hot.
3 comments
posabsolute
3861 days ago
Yeah we thought about that, but is it reliable? We were really not sure we could always get rid of the cold start issue.
link
twagner
3861 days ago
AWS Lambda function schedules are driven off the same fault-tolerant, highly available service that powers SWF. (So...yes, they're reliable :)
link
anonymoushn
3861 days ago
Is keeping it hot with a cron job reliable though?
link
toadkicker
3861 days ago
Give SNS/SQS a look for polling solutions for API Gateway. We got around it by having a health check call in our set up.
link
beefsack
3861 days ago
You could potentially use that task as an availability test too.
link