You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
From https://aws.amazon.com/lambda/faqs/:
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.
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
The text was updated successfully, but these errors were encountered: