News for hackers. Stuff that matters.
Re:AWS Lambda Web Adapter by mlhpdx on Saturday June 22, 2024 @03:41PM (#40761584)
Not untrue, but also not true. It isn’t a Lambda problem, It’s the problem of running the same old, same old code on lambda.

Running clusters of VM/container/instances to “scale up” to transient demand but leaving largely idle (a very, very common outcome) then an event oriented rewrite is going to save a big hunk of money.

But yeah, if you keep every instance busy all the time, it is definitely cheaper than lambda busy all the time.

Re:AWS Lambda Web Adapter by paulgb on Saturday June 22, 2024 @03:46PM (#40761614)
Sure, if you’re willing to rewrite for an event-based architecture you can avoid the problem, but the post is a framework designed for running on Lambda without that rewrite. One of the stated goals is to have the same container run on EC2 or Fargate.
Re:AWS Lambda Web Adapter by zoover2020 on Saturday June 22, 2024 @03:56PM (#40761678)
A lot of internal web apps with low TPS can be easily ported to Lambda using these adapters. They should be the main use case IMO.
Re:AWS Lambda Web Adapter by allannienhuis on Saturday June 22, 2024 @05:01PM (#40762178)
A lot of internal web apps with low TPS can easily be run on a $5-30/month vps.
Re:AWS Lambda Web Adapter by easton on Saturday June 22, 2024 @06:44PM (#40762896)
The minimum cost of running a task on Fargate is under a dollar a month. If you’re a AWS company, you can get cheaper if you take the lock in (not that there’s much lock-in with Fargate)
Re:AWS Lambda Web Adapter by mlhpdx on Saturday June 22, 2024 @03:55PM (#40761667)
I understand the point. It’s one in a long line of such enabling tech — all leading to the same outcome.
Re:AWS Lambda Web Adapter by parthdesai on Saturday June 22, 2024 @03:56PM (#40761673)
> Running clusters of VM/container/instances to “scale up” to transient demand but leaving largely idle (a very, very common outcome) then an event oriented rewrite is going to save a big hunk of money.

If you're using k8s, HPA is handled for you. You just need to define policies/parameters. You're saying as if rewriting an entire app doesn't cost money.