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
{{ message }}
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
I don't think that the issue we're seeing on Lambda is related to console.log. As I mentioned in yesterday's presentation, the problem we're seeing is that after all the work in the Lambda function is done, sometimes the function continues to run for the full 5 seconds. It happens rarely, inconsistently, and after all the other work is done, including all the logging. Even if using console.log is slow, it wouldn't explain that behavior.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
console.log
is synchronous and should be avoided in production - here is an explanation why: https://nodejs.org/docs/latest-v6.x/api/process.html#process_a_note_on_process_i_oProbably getting rid of console.log might help to fix unexpected slow-downs on Lambdas.
The text was updated successfully, but these errors were encountered: