News for hackers. Stuff that matters.
Re:Lambda on hard mode: serverless HTTP in Rust by lukevp on Saturday March 16, 2024 @08:11PM (#39730619)
Function URLs aren’t part of lambda, they’re just a thin abstraction around API Gateway v2 (http APIs) that allow all calls, and have randomly generated domains, so you’re not gaining anything and losing some functionality by doing this instead of running an API GW with lambda proxy integration yourself. If setting up API GW is too difficult, you could use SAM or Serverless Framework to automatically provision it. Then you can have a real domain, SSL, failover, endpoint validation, etc.
Re:Lambda on hard mode: serverless HTTP in Rust by arrakeenrevived on Saturday March 16, 2024 @09:21PM (#39731043)
>so you’re not gaining anything and losing some functionality by doing this instead of running an API GW

You're gaining the fact that Function URLs are free while APIGW can be pretty costly, as well as the fact that Function URLs are fantastically less complex than APIGW if your use cases fit it.

Re:Lambda on hard mode: serverless HTTP in Rust by tlarkworthy on Sunday March 17, 2024 @02:01AM (#39732269)
Function URLs are not limited to 30 seconds. That's massive
Re:Lambda on hard mode: serverless HTTP in Rust by maerF0x0 on Monday March 18, 2024 @01:20PM (#39747160)
I think they are only an asynchronous invocation in that case though? The reason they do that is they dont want your connections holding a port for 15 minutes.