←back to thread

115 points nonfamous | 1 comments | | HN request time: 0.001s | source
Show context
nemothekid ◴[] No.44567382[source]
If I'm reading this correctly, then AWS Support dropped the ball here but this isn't a bug in lambda. This is the documented behavior of the lambda runtime.

The document is long, and the examples seem contrived, so anyone is free to correct me but as I understand it the lambda didn't crash, after you returned 201, your lambda instance was put to sleep. You aren't guaranteed that any code will remain running after your lambda "ends". I am not sure why AWS Support was unable to communicate this OP.

If you are using Lambda with a function URL, you aren't guaranteed that anything after you return your http response remains running. I believe Lambda has some callbacks/signals you can listen to, to ensure your function properly cleans up before the Lambda is frozen, but if you want the lambda to return as fast as possible it seems you are better off having your service publish to an SQS queue instead.

replies(5): >>44567412 #>>44567432 #>>44567463 #>>44567479 #>>44567534 #
semiquaver ◴[] No.44567432[source]
This document is bizarre. The author is so confidently verbose about something they are clearly misunderstanding, and have been told as much dozens of times. It’s humbling, in a way, to think of times I’ve felt this strongly about something and to consider the possibility I could have been this wrong.
replies(2): >>44567508 #>>44567672 #
johnfn ◴[] No.44567672[source]
It's pretty clearly written by GPT.
replies(1): >>44567682 #
x3n0ph3n3 ◴[] No.44567682[source]
Can you share some of the tell-tale signs you pick up on?

Edit: I see he's the CTO of an AI company.

replies(3): >>44567712 #>>44567768 #>>44567777 #
appreciatorBus ◴[] No.44567768[source]
He’s already added an entry about the whole incident to his resume:

https://lyons-den.com/CV/David_Lyon_CTO_CV_2025.pdf

EDIT: he has added three(!) separate mentions of the same incident to his résumé

replies(4): >>44567820 #>>44571537 #>>44571637 #>>44572336 #
1. tczMUFlmoNk ◴[] No.44567820{3}[source]
At least it is helpfully located in the "Thought Leadership" section as an early flag for the reader.