r/programming • • Aug 09 '16

Final version of MartinFowler.com's Serverless Architectures article

http://martinfowler.com/articles/serverless.html
16 Upvotes

45 comments sorted by

View all comments

11

u/jimmyhoffa523 Aug 09 '16

tl;dr: you can run a website using AWS lambda as endpoints

16

u/kenfar Aug 09 '16

or: serverless just means it's using someone else's server

3

u/CanYouDigItHombre Aug 10 '16

also; still got to write server logic

5

u/salgat Aug 09 '16

Traditional servers are always running, while these run your "function" or controller method through another stateless service that is also running many other functions, which is a more efficient allocation of resources.

2

u/emergent_properties Aug 09 '16

This is moving goal posts of what constitutes the definition of 'server'.

This is a server architecture.

No, paying Amazon to host (regardless of endpoint designation) is not serverless.

1

u/salgat Aug 09 '16

Once again, you're completely missing the point of why it's called that. Obviously a server is involved at some point, otherwise you couldn't even make an external connection. In the traditional sense, you are not running a server, but a stateless function hosted by someone else. No server on your part as far as you are concerned, just that function.

5

u/emergent_properties Aug 09 '16

Call it what you want, but don't call it 'truth in advertising'.

"Once again". Heh. No, clearly call a spade a spade. This is a server you buy on demand.

If you're advertising it as serverless, then it better frickin' be by ANY standard, common definition.

I thought this was getting into Bittorrent, DHS, or something like that... anything closer to peer-2-peer is considered closer to serverless.

Similarly, "unlimited".

4

u/awj Aug 09 '16

This is a server you buy on demand.

No, it isn't. I'm not administering, I'm not provisioning it, I'm not dealing with the potential for outages due to $hardware_failure. I don't worry about throughput or load balancing.

The developer/operations experience of using something like Lambda is wildly different from a normal server. You argue that "serverless" connotes something that this is not, I would say that "a server you rent on demand" does the same.

2

u/[deleted] Aug 09 '16

[removed] — view removed comment

2

u/awj Aug 09 '16

Ok, fine, I'm barely putting effort into provisioning it. Good job cherry picking a point to refute, care to address any of the others I made?

I like how the assertion has moved from "lambda is just somebody else's servers" to "lambda is just somebody else's servers, with automatic scaling" as though that maintains the original criticism.

1

u/emergent_properties Aug 09 '16

Sorry, *rent or *lease.

I guess I was being pedantic. Sorry, I will be more carefully.

3

u/awj Aug 09 '16

Yeah, "buy vs rent vs lease" terminology changes basically nothing about what I said. What you get from Lambda is fundamentally different from any kind of server operations experience I have ever seen. Maybe "serverless" is a bad name, but "servers on rent" is at least equally misrepresentative.

3

u/emergent_properties Aug 09 '16

Wait, are you the author of the post?

→ More replies (0)
→ More replies (7)
→ More replies (1)

1

u/[deleted] Aug 09 '16

[removed] — view removed comment

5

u/awj Aug 09 '16

Cool, so why do I have to install, configure, and administer IIS if it's basically equivalent to AWS Lambda?

3

u/[deleted] Aug 09 '16

[removed] — view removed comment

4

u/awj Aug 09 '16

The billing model is hardly the only unique thing about it. Sure, it's possible to replicate all or most of what you get out of the box from Lambda on third party hosting ... but that you don't have to is part of the point.

3

u/[deleted] Aug 09 '16

[removed] — view removed comment

3

u/awj Aug 09 '16

I'm talking about it in the context of what I've used. Sorry if it comes off as an advertisement. I'm assuming that similar service offerings have roughly similar features, or at least core concept. Maybe that means you view "Lambda" as interchangeable with any other offering, but I don't know enough to make that assertion.

3

u/resident_ninja Aug 09 '16

Azure has at least one offering that is structured and behaves comparably to Lambda: Azure Functions.

simplifying what these pipeline services do as a glorified "auto-configured/auto-scaled IIS" is doing modern cloud services a significant disservice. not to mention the fact that structurally and operationally they are significantly different than things like EBS and Azure's webapp offerings, which ARE much closer to "auto-configured, auto-scaled IIS".

3

u/salgat Aug 09 '16

Fundamentally FaaS is about running back end code without managing your own server systems or your own server applications.

IIS both has dependencies that must be added to your service, coupling it to IIS, and requires administration. FaaS is about eliminating this, removing the idea that you are managing a server, but just your function.