Re:Guide to Serverless Architecture
by maitrik on Thursday December 21, 2017 @02:28AM
(#15977083)
The phrase that Amazon used when launching lambda was 'deploy code not servers'. To me this sums up what 'serverless' means. It means the developer doesn't have to worry about servers in any way.
With AWS Lambda/API Gateway (and arguably with Google App Engine before it) you take away the toil of having to:
[ Parent
| on HN ]
This is exactly what PaaS's like Heroku have been doing for years, right? Isn't Lambda just an even more locked-in PaaS?
Heroku is a bit higher level. If you're using heroku, you're using their blocks and their methods of passing traffic, logging, etc. With lambda, it's just a function. You have to connect everything yourself, not you can do it exactly the way you want.
You can redeploy a Heroku app to many other servers and platforms relatively easily.
However, I'm not sure you can do the same with AWS Lamda Functions. To mean, this means it is like a lock-in.
It's just code with basic function entry point. You may get your parameters and configuration in a different way, but not much else changes. There are only so many ways to call some code.
And a huge plus - not having to pay if nothing is using it (generally).
The downside being that you pay a lot more if it gets used a lot.
Re:Guide to Serverless Architecture
by alpha_squared on Thursday December 21, 2017 @01:18PM
(#15981344)
Which is probably when you need to re-architect, anyway. There are also several optimizations that can be made along the way to reduce costs. I think there are plenty of ways to think of problems from a serverless standpoint that really don't need to go the traditional server route. I also think there are plenty of use cases where serverless may very well be a problem, that's okay.