663
submitted 2 years ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 26 points 2 years ago

Eli5 server less, even on paper...

[-] [email protected] 29 points 2 years ago* (last edited 2 years ago)

Instead of spinning up a classical server like Apache or IIS for what you need, you just write a single function that you can bind to an endpoint and just host that - the rest is abstracted away from you.

[-] [email protected] 39 points 2 years ago* (last edited 2 years ago)

Serverless sounds like a terrible name for this lmao.

Why not remote functions or something like that.

[-] [email protected] 22 points 2 years ago

Marketing™️ I guess? :P

But probably because YOU don't have to fuck around with servers, for you it's just an upload of a function.

[-] [email protected] 14 points 2 years ago

I think that's the main reason, it's a good name explaining what you can expect: an environment where you don't have to worry about servers and don't need an administrator

[-] [email protected] 9 points 2 years ago* (last edited 2 years ago)

Why not just call it shared hosting though? It's essentially the same concept as getting a GoDaddy (or Bluegost or whatever) hosting account and uploading a PHP file lol

[-] [email protected] 7 points 2 years ago

Shared hosting sounds like you don't have your data stored privately and doesn't sound like less work for the company.

Don't look at the name from a technicians perspective, but from the perspective of a manager of a small startup who wants to reduce the overhead for hosting it's service as much as possible. Also serverless is not wrong per sé, it's exactly what you as the customer get.

You could spin it the same way for every other instance. Why do you call GoDaddy "shared hosting", in the end it's just a pod on a kubernetes cluster. So why don't you call it "private kubernetes pod"?

[-] [email protected] 18 points 2 years ago

Someone else has a server and their infrastructure is set up so you can upload a zip of some executable and they'll figure out how to make it run. You don't worry about any details except your code and whatever API is require to be compatible, and they worry about hosting it, making sure it has memory, CPU time, disk space, DB, etc.

[-] [email protected] 12 points 2 years ago

So it's essentially the same as shared web hosting, just masquerading as a new concept. 15 years ago I'd deploy PHP sites by uploading them via FTP to some free web hosting company.

[-] [email protected] 5 points 2 years ago

Except it's not quite shared but "containerized"

[-] [email protected] 2 points 2 years ago

Yep. But you pay only for the CPU time you use and very often the only IO you can do is HTTP due to the runtime.

this post was submitted on 27 Oct 2023
663 points (97.8% liked)

Programmer Humor

36679 readers
16 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS