20k-ultra / circle-ci-config-linter

CircleCI config file linter using SchemaStore spec
Other
2 stars 0 forks source link

cold start lambda call doesn't return anything #1

Open 20k-ultra opened 4 years ago

20k-ultra commented 4 years ago

I've noticed sometimes when calling the lambda endpoint after awhile the endpoint will return an empty response? It's really bizarre since refreshing will return the badge correctly.

Not sure if it's browser cache related?

20k-ultra commented 4 years ago

Pretty certain the issue is related to cold starts. I was able to mitigate the problem by using an uptime monitor setup to invoke the lambda function every 10 minutes since lambda functions will deprovision after 15 minutes of inactivity. After adding this I have never see the lambda function return an empty response.

image

image

Ideally the real problem is identified but will leave this system for now.