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

cold start lambda call doesn't return anything #1

Open
20k-ultra opened this issue Mar 3, 2020 · 1 comment
Open

cold start lambda call doesn't return anything #1

20k-ultra opened this issue Mar 3, 2020 · 1 comment

Comments

@20k-ultra
Copy link
Owner

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
Copy link
Owner Author

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.

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

No branches or pull requests

1 participant