211 points
*

>buy serverless cloud
>look inside
>servers

permalink
report
reply
124 points
*

>make website on no-code editor

>look inside

>code

permalink
report
parent
reply
51 points
*

>buy serverless cloud

>never look inside

permalink
report
parent
reply
24 points
*

Ah yes, the age old “if a tree falls in a forest and no one is around to hear it, does it make a sound?”

permalink
report
parent
reply
24 points

or in this case, if a server fails in the cloud and no one is around to see it, does my app still run?

permalink
report
parent
reply
6 points

It requires conscious observation similar to the photons acting like a wave until observed which then they are a particle.

permalink
report
parent
reply
99 points

It’s not serverless, it’s just someone else’s server

permalink
report
reply
78 points

permalink
report
parent
reply
32 points

Yeah, yeah, but I don’t have to patch it.

permalink
report
parent
reply
16 points

Don’t have to patch the host at least… I think we have a 6 week sla for certain compliances to ensure we are patching our containers, code, and deps regularly.

permalink
report
parent
reply
5 points

That sounds like a problem for IT, not a dev. ;)

permalink
report
parent
reply
6 points

Exactly, it is as much serverless as the offering that allowed to host php sites back in the day.

permalink
report
parent
reply
5 points

Serverless is more associated with micro services where each micro service can scale independently from each other.

permalink
report
parent
reply
1 point

It is, but the idea how it works is roughly the same.

permalink
report
parent
reply
2 points

That you don’t need to care about… as a dev you want to write your code, deploy and not have to care about the underlying server maintenance… you are paying for that to be someone else’s problem.

permalink
report
parent
reply
61 points

permalink
report
reply
31 points

I’m as critical as the next guy of how overused and abused serverless/microservice architectures can be, but there’s disliking something and being completely disingenuous. Some of the comments every time the subject is even remotely mentioned fall into the latter. This time is not the exception lol

permalink
report
reply
21 points

I mean that’s generally the case with most tech. Just like the never ending PHP hate. Plenty of reasons to dislike or not use it but no reason to think it’s the scum of the earth.

permalink
report
parent
reply
9 points

On a tangent, I imagine PHP is still one of the most used backends. Wordpress uses PHP and I wouldn’t be surprised if 50% or more of the websites I visited are Wordpress sites. So I guess many others experience the same?

permalink
report
parent
reply
9 points

Very widely used still and well maintained. It’s been a good options since 7 came around. Most of the hate IMO comes from people who were working with PHP4/5 code or people who just saw PHP4/5 code and think that’s what the language is today.

permalink
report
parent
reply
2 points
*
Deleted by creator
permalink
report
parent
reply
1 point

Yeah, this stat is always a bit dubious sounding to me (how much of it is blogspam?), but WP is still much more prevalent than most devs seem to realize.

permalink
report
parent
reply
0 points

Plus, Facebook literally forked PHP and still uses it, and is one of the most popular sites on the internet

permalink
report
parent
reply
4 points

Yeah… Indeed, our field is pretty prone to weird tribalism and jumping on bandwagons. Still, I dislike that just as much lol

permalink
report
parent
reply
1 point

For sure. People find a niche they like and then think that is the solution to any problem. Until, of course, some new shiny tech catches their eye and they try that out (or their favorite clickbait Medium writer comes out with an article about “Why you shouldn’t be using ____ anymore in 2023”). Then the love of their life gets thrown to the curb.

permalink
report
parent
reply
3 points

I think it’s a maturity thing. You eventually see so many trends come and go, peaks and troughs of hype cycles and some developers (probably including yourself at least once!) overusing certain new tech.

You eventually discover what works with current tech and then you can become healthily critical of anything new. You see it more for where it can fit and where it can’t.

If you have something small and stateless then serverless is easy and, more importantly, scalable. It was a little easier to see its role once the hype fog had lifted and I had a problem to solve with it.

permalink
report
parent
reply
3 points

see so many trends come and go

It’s interesting how things are cyclical. Serverless functions remind me of cgi-bin scripts.

permalink
report
parent
reply
2 points

Yep, it’s usually an existing idea with progression in a few areas. You could definitely achieve serverless with a cluster of servers hosting the same scripts in cgi-bin and I think that context helps to put it into perspective.

permalink
report
parent
reply
1 point
*
Deleted by creator
permalink
report
parent
reply
26 points

Eli5 server less, even on paper…

permalink
report
reply
29 points
*

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.

permalink
report
parent
reply
38 points
*

Serverless sounds like a terrible name for this lmao.

Why not remote functions or something like that.

permalink
report
parent
reply
21 points

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.

permalink
report
parent
reply
18 points

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.

permalink
report
parent
reply
12 points

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.

permalink
report
parent
reply
5 points

Except it’s not quite shared but “containerized”

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 5.6K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments