139 points · by ingve · 8y ago · 76 comments
It is true though that it would be nice to have a standard for FaaS that doesn't have the inefficiency of CGI.
Like, really really shockingly terrible.
Regardless, I truly can not wait to see a topic about serverless that isn't primarily bickering about the name.
How does it do that? "Serverless" as a word implies no servers, and therefore no 3rd-party management, and no pay-per-use.
Which is why the name sucks.
I get that the allure of not focusing on infrastructure, scaling, etc. is strong. But that's really a side effect of what you're actually doing: applying FP principles to web service design.
And it really fits the paradigm well. You've got HTTP services (short lived, therefore comfortably stateless) that are ideally infinitely scaleable (easy to do when your HTTP services are basically pure functions). Do you need caching? That's like memoization of your functions!
It’s more like people yelling at the wind or thinking they are intellectually superior because they are in on the little secret that servers are involved.
Pick a better term.
Just like everything else in technology, if someone is confused by tech jargon, they should research it.
Either way, serverless is a superset of FaaS.
There is still a server running the code, you just don't control it.
Claiming "it just means I don't have to worry about it" means that classic shared web hosting with shockingly outdated versions of php and perl are "serverless" too.
Is there anyone who really thinks that there is no server anywhere. I find this complaint really odd.
Your complaint can be applied to FAAS too, don't all webserver execute functions? What else would they be serving.
Would you think that PaaS means an API to get platforms?
[1] http://erlang.org/pipermail/erlang-questions/2011-May/058768...
1. Not using a server.
2. Using a server. Not serverless.
Problem solved.
Just because it runs on someone else's machine doesn't mean it is "serverless". an API Gateway obviously is a server.
FAAS is just a good old worker queue, there is nothing new about that.
There is no "modern definition" of serveless. it's just marketing, it has nothing to do with technology. Developers shouldn't use that word and expect to be taken seriously.
Which really means wireless networking doesn't exist, because there are still wires involved somewhere, and I don't hear people being pedantic about that.
By your "wireless" analogy I think you view these apps to be absurd impossibilities, like electronics without wires.
This distinction is important. SimCity 5 gratuitously required the user to be constantly online, talking to some server. I mean obviously - there has to be a server somewhere, right?
No, there does not!! We need to retain the ability to talk about apps that do not need ANY server, and "serverless" muddies that crucial distinction.
I generally just call them apps and people understand what I mean because of context. But if you want to get pedantic, Photoshop requires a computer (what a server is).
It's all useless and pointless.
It was just one thread though, and I could see how it sucked people into its vortex, I haven't even had a chance to read the article yet, and here I am doing the same as everyone else (including you...). Well, worse actually, as we've contributed to a new thread.
As I understand it, according to this article, netflix is 90% complex services that have nothing to do with node. All this article is describing is adding an additional layer in front of those services, which uses a hosted solution that abstracts away servers.
So it sounds like by-and-large netflix still uses traditional solutions.
So what's not clear from the article:
1. Why node?
2. Why add a layer at all? I don't see why UI A/B testing couldn't be handled with truly front-end changes. Does this somehow enable A/B tests on TV apps, for example?
3. How does this play with traditional version-control? (e.g. in a post-mortem if you need to see who changed something, and who approved it, is there a written log? And merge conflicts?)
4. Does this add a new single-point-of-failure?
Edit: remove false claim
The lower half of the article covers their development toolchain:
- Repo: Github?
- CI/CD: Spinnaker
- Testing: ???
- Container orchestration: Titus
- Dashboards and metrics: Atlas
- Alerts and notifications: Pagerduty
I’ve often built UI-specific API endpoints, but have often been told such endpoints are a bad practice. In reality, I think they’re great. It allows you to serve up optimal payloads and move much more quickly than writing the equivalent general APIs.
That said, wasn’t Falcor the Netflix solution to this very problem?