News for hackers. Stuff that matters.
Re:Build a Serverless Web Applicaion by Sephr on Tuesday July 11, 2017 @03:41AM (#14742273)
Is anyone else slightly peeved by the popularity of this misnomer?

If you are paying for servers, your app isn't serverless. Real serverless to me means decentralized p2p and offline apps. I also consider p2p-routed apps with centralized control serverless as long as they continue to function in a read-only state when the control server is down.

Re:Build a Serverless Web Applicaion by Herald_MJ on Tuesday July 11, 2017 @06:59AM (#14743083)
No, I'm not peeved by the "misnomer". What is getting a bit annoying is every conversation about serverless being dominated by snarky comments about there being no such thing. As software professionals, we all know there is a server involved in responding to requests for our applications. But 'serverless' does accurately describe services like AWS Lambda, because the experience of development is such that you don't really have to think about servers, along with all the complexity of provisioning, configuring and managing them.

TL;DR: It's just a name. Get over it.

Re:Build a Serverless Web Applicaion by voidr on Tuesday July 11, 2017 @08:08AM (#14743437)
> But 'serverless' does accurately describe services like AWS Lambda,

Serverless means no server, which is false, because there is a server that runs your code.

> because the experience of development is such that you don't really have to think about servers, along with all the complexity of provisioning, configuring and managing them.

That sounds like you are talking about 'web hosting' or 'application hosting', which existed decades ago, don't see any point in inventing a confusing buzzword when we have perfectly fine terminologies already.

> TL;DR: It's just a name. Get over it.

It's a useless and confusing marketing buzzword that makes having intelligent conversations harder. I would love to understand your rationale for defending this confusing buzzword.

Re:Build a Serverless Web Applicaion by Herald_MJ on Tuesday July 11, 2017 @08:33AM (#14743568)
> It's a useless and confusing marketing buzzword

A marketing buzzword is something like "web scale", which might be used by a non-technical person to describe a technology, but has no real technical meaning. Serverless is not a buzzword because it is the name used for a collection of technologies, even if it isn't a specific product. "Software containers" also falls into this category.

Yes, serverless architectures involve servers. Well done for recognising this, you are very smart. In fact, you are smart enough to realise that the architectures we are talking about here are very distinct from traditional web hosting services. So, it's convenient to use a different name for them.

Finally, it doesn't really matter whether you like the term or not. It is the accepted term and it is here to stay. If you want to engage in conversations on the topic you will need to move past your misgivings.

Re:Build a Serverless Web Applicaion by voidr on Tuesday July 11, 2017 @01:04PM (#14745855)
> A marketing buzzword is something like "web scale", which might be used by a non-technical person to describe a technology, but has no real technical meaning. Serverless is not a buzzword because it is the name used for a collection of technologies, even if it isn't a specific product.

What collection of technologies does it name? And how is that different from "web scale" technologies that is also a group of technologies?

> Yes, serverless architectures involve servers. Well done for recognising this, you are very smart.

If you would have strong arguments, you wouldn't need snarkiness.

> In fact, you are smart enough to realise that the architectures we are talking about here are very distinct from traditional web hosting services.

That's the exact opposite of what I've said, if you look at it from a server management point of view, traditional web hosting and "serverless" are one and the same, both are used to run the code you upload and both are managed by someone else.

> So, it's convenient to use a different name for them.

It's not convenient, it's confusing.

> Finally, it doesn't really matter whether you like the term or not. It is the accepted term and it is here to stay.

Accepted by who?

> If you want to engage in conversations on the topic you will need to move past your misgivings.

If you want to engage in conversations on any topic with anyone, you should read what's on this website https://yourlogicalfallacyis.com/ and stop doing them.

Re:Build a Serverless Web Applicaion by dvfjsdhgfv on Tuesday July 11, 2017 @08:39AM (#14743598)
Ad hominem comments are really unnecessary. Your statement "Serverless is not a buzzword because it is the name used for a collection of technologies" is not logically true. There are many buzzwords referring to collections of technologies, and "serveless" is just one of them.
Re:Build a Serverless Web Applicaion by dvfjsdhgfv on Tuesday July 11, 2017 @08:44AM (#14743625)
"Serverless" is definitely not an "accurate description of AWS Lambda", because the work is done by servers. As the parent mentioned, it would be a much more accurate description of P2P services/protocols.
Re:Build a Serverless Web Applicaion by zdkl on Tuesday July 11, 2017 @08:01AM (#14743402)
> the experience of development is such that you don't really have to think about servers, along with all the complexity of provisioning, configuring and managing them.

But didn't we get "The Cloud" to do that? I mean I'm fine with rebranding but this is a really fine line.

Re:Build a Serverless Web Applicaion by plesiv on Tuesday July 11, 2017 @08:18AM (#14743492)
No. The Cloud is used to collectively represent all kinds different types of computing/storage/auxiliary services that can be managed on demand.
Re:Build a Serverless Web Applicaion by zdkl on Tuesday July 11, 2017 @09:37AM (#14744038)
Notice how you didn't use the term server to describe "The Cloud"
Re:Build a Serverless Web Applicaion by simplexion on Tuesday July 11, 2017 @10:14PM (#14749692)
I think something like "Server-nescient Web Application." Marketing departments should like a fun word like nescient.
Re:Build a Serverless Web Applicaion by le-mark on Tuesday July 11, 2017 @07:15AM (#14743150)
Agreed, it is very annoying, maybe 'serverless' isn't the best name, but 'adminless' is no better. All the banal comments about the name have really impeded discussion about this topic.

I personally am angered at the 'everyone should be a sys admin' culture we've come into as a profession, it completely trivializes the role of sys admins who are critical to any product/company. Good sys admins bring a lot to the table, just like experienced DBAs.

Edit; wow either everyone really hates sys admins and dba's or prefer "adminless", any down voters care to explain?

In truth, I don't think the name 'serverless' will stick in the long term, there is just too much animosity for it. The useage here by AWS is the first time I've seen it in a couple of months. Anecdata, but I think most would admit it's not very common.

Re:Build a Serverless Web Applicaion by mgkimsal on Tuesday July 11, 2017 @07:48AM (#14743325)
As with many positions, there's a middle ground. I don't expect people to be able to dive in deep in to the innards of MSSQL and understand all the nuance between types of indexes and how different hardware choices can impact said index types. However, when working with "sr software engineers" who are responsible for SQL, I do expect someone to be able to set up a local test database and create some tables with sample data to demonstrate an idea (in whatever tech they choose).

I would argue that "sys admins" - in the form of dedicated personnel - are not "critical to an product/company". I know plenty of smaller companies who are successfully bringing in profits, making payroll, etc, but do not have any sysadmins employed. At some point, they will need those skills (and probably stronger DB skills) but these aren't always critical to every project/company/org. Perfect is the enemy of the good.

EDIT: middle ground.

Re:Build a Serverless Web Applicaion by marktangotango on Tuesday July 11, 2017 @08:43AM (#14743622)
I've seen one team of devs in particular do a really nice job with their sql database, but more often than not dev teams trash their schema and databases, if they're using sql at all. They create rdbs that are not normalized, don't have foreign key constraints, too many indexes (index on every column to get this dashboard query to perform! I've seen this a sad number of times).

Yeah sure sys admins and dbas aren't critical, but if an organization values what they can do, they can multiply the productivity and effectiveness of the app and product teams.

Specifically, features are faster to implement because the schema is not jacked, the app is responsive and stable because the data is normalizesd and indexed for the access patterns, data is consistent. Customers are happy.

Similar for the network/server side for sys admins.

Re:Build a Serverless Web Applicaion by mgkimsal on Tuesday July 11, 2017 @08:55AM (#14743719)
No doubt there's a potential for abuse, and there's middle grounds to be had. I've also caught hell from a PM for a project being 'late', even though I had 0 control over actually getting DB changes in, because the DBA was a) on vacation, then B) sick, then C) backed up on other work. But apparently, it was my team's fault that the project relying on a SQL database was not launched "on time" (a deadline I had no hand in making, nor did I agree to either).

The policy of "only DBA can make any changes to anything, and all schema changes have to be discussed, reviewed, vetted and approved by DBA" has benefits, in some situations, but also problems.

I had a DBA question why I needed pagination. "No one has ever asked for it before, and never needed it, and I think you're building your application wrong if you need that". After a few weeks of contentious meetings, we got hand-rolled stored procedures for each specific table/query, but they also took days to get to us.

But, hey, you know... at least the tables were normalized and we had "proper" indexes. We just took weeks to get done what should have taken a few hours to prototype (because, during the time we were building the tool, the team we were building it for ended up buying some third party service because we were taking so long).

We've all got war stories of incompetence on all sides (dba, dev, pm, whatever). This is why I advocate "middle ground". I trust a DBA who's actually done a bit of raw coding in their life. I trust a developer who understands the basics of SQL and DB workings (again, 'basics' are fine). I trust the estimates of a PM who is engaged with the team on a regular basis. I trust the views of a business analyst more if they actually show up to meetings and listen to the parties involved.

Re:Build a Serverless Web Applicaion by melvinram on Tuesday July 11, 2017 @04:41AM (#14742530)
It's called serverless because, for all intents and purposes, you don't know or control:

* how many real or virtual servers are running your code.

* how the servers were provisioned or setup.

* how to access the servers (either via SSH or programmatically), either than through predefined APIs.

* what happens when the servers break.

* what causes the servers to disappear.

* etc.

The "server" concept has been abstracted out of the equation and you're no longer required to think in terms of servers. (there is one exception: RAM usage is still something you need to predict for AWS Lambda.)

Instead, you're thinking in terms of limitations and usage of the service.

With the above said, serverless has a bit of journey to make. The toolchain is growing and the workflow of local development, testing and deployment is still a work in progress. I feel like it's a great time to jump in because there is a lot of exciting work to do and a good foundation to build on top of.

Re:Build a Serverless Web Applicaion by mysterydip on Tuesday July 11, 2017 @07:21AM (#14743184)
If the goal is to have a black box that we just send apps to and they just work, I propose a new buzzword: "black cloud".
Re:Build a Serverless Web Applicaion by virtualized on Tuesday July 11, 2017 @04:59AM (#14742610)
These were already the promises of "the Cloud" until everyone started calling their Raspberry Pis at home a "cloud".

Now the same thing has got another stupid name: Serverless. I wonder what the same stuff will be called two years from now.

Re:Build a Serverless Web Applicaion by melvinram on Tuesday July 11, 2017 @05:37AM (#14742741)
Yes, services (such as AWS S3) that could be considered serverless have existed for some time now.

What has changed is that the suite of services now exist to fully enable an application to be (almost) completely serverless.

Similar to micro-services, people will overuse the word and it will seem like a fad. IMO, it's more than a fad. Once the toolchain is mature, it will become the default way of building applications.

Re:Build a Serverless Web Applicaion by ShabbosGoy on Tuesday July 11, 2017 @07:00AM (#14743088)
S3 is not serverless. Just because the implementation details (i.e. how servers are provisioned) are obscured from the end user doesn't make serverless.

Web 3.0 is truly serverless because your application lives on a decentralized p2p cloud.

Ethereum/Swarm(or IPFS)/Whisper is an example of a serverless p2p stack.

You may as well call the service they're selling "managed", because that's what it is.

Re:Build a Serverless Web Applicaion by melvinram on Tuesday July 11, 2017 @07:06AM (#14743119)
That's not how the term serverless is being used most places. See first comment I made. It's not being without server. It's about not thinking about the server.
Re:Build a Serverless Web Applicaion by TuringTest on Tuesday July 11, 2017 @08:53AM (#14743705)
That doesn't make the name any less stupid. It's exactly like calling automatic cars "gearless" because you don't need to manually change gears.
Re:Build a Serverless Web Applicaion by collyw on Tuesday July 11, 2017 @05:20AM (#14742682)
It was "web based" before that.
Re:Build a Serverless Web Applicaion by etatoby on Tuesday July 11, 2017 @07:12AM (#14743142)
We still run and manage our servers and save a metric ton of money wrt. "cloud" offerings.

When "cloud" or "serverless" will be cheaper than managing your own dedicated servers, then it will actually be useful. Until then, it's just marketing.

Re:Build a Serverless Web Applicaion by dvfjsdhgfv on Tuesday July 11, 2017 @09:30AM (#14743985)
In my experience a dedicated server will be cheaper most of the time. I'm using Hetzner for most of my customers (small & medium-size companies) and for several services offered by Amazon a dedicated solution is just cheaper. I always calculate the prices beforehand for several scenarios and self hosting scenarios are almost invariably cheaper (storage, computing etc.). This does NOT mean it's better. Hetzner's servers are in Europe, they're not infallible (but usually they replace the hardware within 30 minutes or so), you need more time for the initial setup than with AWS, and obviously you can't scale them up in the same way. However, they're cheaper.
Re:Build a Serverless Web Applicaion by JoeAltmaier on Tuesday July 11, 2017 @09:36AM (#14744026)
Marginally cheaper? In the statistical sense - each one is physically cheaper. But if you count managing them yourself, backing them up, fixing them when they break? Count the room they take in your house/office? If you have enough, count the salary of the person hired to install/manage them as you expand?
Re:Build a Serverless Web Applicaion by dvfjsdhgfv on Tuesday July 11, 2017 @10:25AM (#14744416)
My experience is that you need a competent person in each case - whether the data is stored in S3 or on a dedicated server, whether you use EC2 instances or doing the job on your own server. For something like 40€/month you get Core i7, 32 GB RAM, 2x4TB HDDs, 1 GBps port and 30 TB included. In this 40€ the cost of storing the server, cooling it, power, etc. is included: https://www.hetzner.com/dedicated-rootserver/ex41 When things break, they repair it. In my case, they usually break once a year - sometimes the PSU, sometimes a hard drive (no a problem with RAID 1 already in place). It all depends on your needs.
Re:Build a Serverless Web Applicaion by etatoby on Friday July 14, 2017 @01:40AM (#14767765)
Yes, I was referring to Hetzner too.
Re:Build a Serverless Web Applicaion by melvinram on Tuesday July 11, 2017 @07:21AM (#14743182)
Both "cloud" and "serverless" are cheaper if capacity needs are opaque (high growth or unpredictable swings.) If you have predictable capacity needs, I agree that dedicated servers are a better value.
Re:Build a Serverless Web Applicaion by IanCal on Tuesday July 11, 2017 @07:55AM (#14743366)
It already is for some of the things I'm doing. I have a lot of data in s3 and process it with lambda, meaning I can run a bunch of things I want very quickly by starting 100+ concurrent processes with virtually no management time from me, and it's cheap.
Re:Build a Serverless Web Applicaion by tabeth on Tuesday July 11, 2017 @07:24AM (#14743198)
It's interesting how most of the responses to this post agree that "serverless" isn't literally what's happening but agree to that name and say to get over it.

It's akin to someone saying it's "free" because you don't have to think about the money, e.g. you pay with a credit card.

Perhaps the name it should be called is adminless or backend as a service. In any case, there's probably not much one can do about the name at this point.

Re:Build a Serverless Web Applicaion by mgkimsal on Tuesday July 11, 2017 @08:22AM (#14743507)
> Perhaps the name it should be called is adminless or backend as a service

What's odd is that we already have "infrastructure as a service", which is generally what this is. An entire infrastructure to run your code, without having to set it up (although you still need to configure logging to get useful data in most situations, it seems).

Re:Build a Serverless Web Applicaion by voidr on Tuesday July 11, 2017 @08:15AM (#14743472)
Reminds me of the following meme:

#define TRUE FALSE //Happy debugging

Re:Build a Serverless Web Applicaion by superplussed on Tuesday July 11, 2017 @03:45AM (#14742293)
It actually has lead to confusion before when I assumed that someone I was talking to knew what this usage of "serverless" meant. And it was only 15 minutes of talking that we realized our conversation had wildly diverged and neither side knew it.
Re:Build a Serverless Web Applicaion by gluczywo on Tuesday July 11, 2017 @05:27AM (#14742705)
It's not only a misnomer but the term is not needed. We've had SOA, web services, microservices, now serverless. I'm not saying it's all hype. It's rather a steady, lasting a few decades, transition towards outsourcing by encapsulating complexity into services. For me we've just arrived to the point where web services are mature enough so they can be consumed directly from the browser.
Re:Build a Serverless Web Applicaion by developer2 on Tuesday July 11, 2017 @05:49AM (#14742787)
Amazon goes to the extent to fully explain in the very first two sentences: "Serverless computing allows you to build and run applications and services without thinking about servers. With serverless computing, your application still runs on servers, but all the server management is done by AWS."

"Serverless" had no previous meaning - it's not like Amazon bastardized an existing term. The word will ultimately be defined once people expect it to mean something specific. Personally I like Amazon's use of the term here.

A recent similar example: the word "performant". The number of stubborn people who screamed "performant isn't a word!" was ridiculous. Everyone understands the intention behind the word "performant" without needing to have it explained to them. The introduction and wide adoption of a word is exactly how new words are folded into language. Language is fluid! Language has never been static and inflexible, and pouting because we have extended the dictionary over and over again for thousands of years is frivolous.

Re:Build a Serverless Web Applicaion by perilunar on Tuesday July 11, 2017 @03:48AM (#14742303)
Not just peeved, but confused.

"With serverless computing, your application still runs on servers"

So it's not serverless? Why are you calling it serverless?

Re:Build a Serverless Web Applicaion by virtualized on Tuesday July 11, 2017 @05:04AM (#14742629)
Because server has become a synonym for "Ubuntu pet machine that developers SSH into to paste random commands from Stack Overflow". People who do that are the target audience of "serverless".
Re:Build a Serverless Web Applicaion by IanCal on Tuesday July 11, 2017 @08:01AM (#14743401)
Also people with different requirements. I like being able to drop a load of files on s3 and have a few hundred processes start automatically, run and store the results elsewhere without having to ever worry about disk space or managing a fleet of servers which I want running for no more than a couple of minutes.
Re:Build a Serverless Web Applicaion by eriknstr on Tuesday July 11, 2017 @03:56AM (#14742334)
The very first time I heard "serverless" I thought P2P, but even though I agree somewhat with what you said, think of it as serverless because you don't have to manage the servers yourself.
Re:Build a Serverless Web Applicaion by oneplane on Tuesday July 11, 2017 @07:07AM (#14743121)
I am. But this is just another 'shiny new thing'. It's not that it doesn't have it's place or function, but it's not as 'special' as it's presented as either. Back when you delivered your stack of punchcards, you were practically serverless too. You didn't know how it was going to be loaded, who would do it, where the machine would be, of how to get in to do things yourself. It's just code in, results out.

This practically fits in the same boat as docker...

Re:Build a Serverless Web Applicaion by Futurebot on Tuesday July 11, 2017 @08:47PM (#14749301)
"Just-in-time server" would have been much more descriptive and accurate as a term.
Re:Build a Serverless Web Applicaion by StevePerkins on Tuesday July 11, 2017 @07:57AM (#14743379)
I hear you, but to me this is like people getting upset over hoverboards ("But they don't hover!!!"). True, but it's convenient shorthand and pretty much everyone understands what is really meant.
Re:Build a Serverless Web Applicaion by inopinatus on Tuesday July 11, 2017 @04:54AM (#14742584)
Not peeved at all. Actually I find the persnickety language-lawyering far more irksome.

It is even specifically incorrect to claim that AWS lambda functions always run on servers; they have at least three distinct execution environments, one of which is IoT devices via AWS Greengrass another being inside the Cloudfront CDN. It's also a stretch to suggest that the primary execution environment for AWS Lambda is a server device; that is not AFAIK specified anywhere.

So, although the term itself may annoy you, the counter-claim that "it must be servers" is a demonstrably false assumption.

Re:Build a Serverless Web Applicaion by amelius on Tuesday July 11, 2017 @05:59AM (#14742827)
Agreed. When I first read the term, I thought it was about some P2P service.

Why not call it "hosted" or "virtually-hosted" instead?

Re:Build a Serverless Web Applicaion by kagx on Tuesday July 11, 2017 @04:45AM (#14742551)
Serverless term is a little bit confusing at the beginning, but it is the same thing as saying that WiFi is wireless.
Re:Build a Serverless Web Applicaion by virtualized on Tuesday July 11, 2017 @05:03AM (#14742624)
WiFi can do without a wire where it matters.

A server cannot do anything without being a server.

Re:Build a Serverless Web Applicaion by cpach on Tuesday July 11, 2017 @04:55AM (#14742590)
A mesh network can be wireless ;-)
Re:Build a Serverless Web Applicaion by richmarr on Tuesday July 11, 2017 @04:22AM (#14742449)
Serverless refers to your workflow & division of responsibility, not the literal stack. Personally I think there are enough things to be peeved about in the world without adding this.
Re:Build a Serverless Web Applicaion by thinkMOAR on Tuesday July 11, 2017 @06:40AM (#14742997)
I'm agreeing with you, and their own text does too

I quote: "Serverless computing allows you to build and run applications and services without thinking about servers."

Serverless clearly is not serverless.

down voted edit: LOL

Re:Build a Serverless Web Applicaion by honestoHeminway on Tuesday July 11, 2017 @05:01AM (#14742614)
Yes, i expected it to be something akin to a peer 2 peer client, where one user hosts it for another. Stopped reading when AWS showed up.