this post was submitted on 06 Jul 2024
519 points (96.8% liked)
> Greentext
7519 readers
5 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Sounds like the same result with extra steps?
There's a few advantages. No server maintenance is one, but the main benefits are scalability and cost. Renting a server is expensive and is billed regardless of usage per month. Serverless is billed in 10 millisecond blocks so you only pay for each request essentially. Since it creates one compute function per request, it will more easily scale up to meet a surge of users. Of course with any trendy technology it can be misused to situations where it's not a good fit and lose the cost and scalability benefits.
You forgot the part where the provider of your serverless charges you a multiple of what your idling server would cost you.
It’s basically slicing up a server and selling you some slices at an exaggerated premium.
You spend more on supervising the stuff running on the slices so they don’t bankrupt you when a peak happens than you would for maintaining a server.
But hey, it’s fashionable to be serverless so let’s all do it