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

timout execution lambda #5

Open
1 task
SimonLab opened this issue Oct 19, 2016 · 0 comments
Open
1 task

timout execution lambda #5

SimonLab opened this issue Oct 19, 2016 · 0 comments

Comments

@SimonLab
Copy link
Contributor

From https://aws.amazon.com/lambda/faqs/:

Q: How long can an AWS Lambda function execute?
All calls made to AWS Lambda must complete execution within 300 seconds. The default timeout is 3 seconds, but you can set the timeout to any value between 1 and 300 seconds.

So we need to be sure that the lambda can finish the work in the 300 seconds timeout (5mn). At the moment we are creating the sitemap by scanning all data from elasticsearch. The lambda has the time to finish to create the sitemap but if the database content is getting bigger and bigger we migth arrive to the limit.

  • How long the lambda take to scan the database?

We might be able to speed the process by only getting the recently updated items or the new intems from Elasticsearch by checking the version of the documents

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

No branches or pull requests

1 participant