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

[IT-3506] Address lambda timeout issue from 2024-03-02 #22

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

ConsoleCatzirl
Copy link
Member

The lambda run on 2024-03-02 ran approximately twice as slow as the run on 2024-02-02 (and encountered a timeout while collecting data), but the manual run on 2024-03-03 was in between the other two and only took a couple seconds longer than the 60-second timeout.

  • Double the timeout from 60 seconds to 120 seconds due to variable processing time across lambda environments.
  • Rely on boto retries instead of sleeping between SES calls.
  • Use adaptive retries for CE calls to optimize retry backoff.

The lambda run on 2024-03-02 ran approximately twice as slow as
the run on 2024-02-02 (and encountered a timeout while collecting
data), but the manual run on 2024-03-03 was in between the other
two and only took a couple seconds longer than the 60-second
timeout.

* Double the timeout from 60 seconds to 120 seconds due to
  variable processing time across lambda environments.
* Rely on boto retries instead of sleeping between SES calls.
* Use adaptive retries for CE calls to optimize retry backoff.
@ConsoleCatzirl ConsoleCatzirl requested review from a team as code owners March 11, 2024 18:05
@coveralls
Copy link

Coverage Status

coverage: 91.216% (+0.05%) from 91.171%
when pulling ca74082 on jesusaurus:it-3506
into 2a68f06 on Sage-Bionetworks-IT:master.

@ConsoleCatzirl ConsoleCatzirl merged commit e66d53b into Sage-Bionetworks-IT:master Mar 12, 2024
5 checks passed
@ConsoleCatzirl ConsoleCatzirl deleted the it-3506 branch March 12, 2024 17:05
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

Successfully merging this pull request may close these issues.

3 participants