There is a new evolution in software engineering and that is called “serverless” or “function-as-a-service”. However, some people believe that it is very cheap to architect the system with serverless.
First of all, I we have to explain Stovepipe System anti-pattern:
Subsystems [of stovepipe system] are integrated in an ad hoc manner using multiple integration strategies and mechanisms. All subsystems are integrated point to point, thus the integration approach for each pair of subsystems is not easily leveraged toward that of other subsystems.
Also, of course serverless in clouds like AWS can be vendor lock-in.
In my opinion, serverless is a continuation of backend as a services solutions Like Firebase. It can handle quick implementation of an API for a simple game or micro-service and that’s it. Designing a whole data pipeline on serverless seems insane to me due to its cost model of storage and API gateway. Embedding the code in the infrastructure is somewhat to hiding procedure calls in database systems or data manipulation in load balancers. It is a serious risk against maintainability and predictability of a system.
In smaller scales, serverless is cheap but a business cannot be easily be profitable based on the cost models. I believe this blog post covers many aspects of the costing:
The hidden costs of serverless
Evaluating the real costs of serverless architecture is tricky
Running the program using server-less can be similar to Docker containers on Kubernetes with resources limits on each pod. If your code can work within the serverless memory and time limits, then you could fit all of that on an relatively larger and cheaper EC2 server, too.
Basically, OpenFaaS and other comparable software use Kubernetes for their architecture and it plays out very nice.
A Comparison of Serverless Frameworks for Kubernetes: OpenFaas, OpenWhisk, Fission, Kubeless and…
The term Serverless has become synonymous with AWS Lambda. Decoupling from AWS has two benefits; it avoids lock in and…
Also, you can check:
Serverless is cheaper, not simpler
The (Emit) conference last week featured a lineup of excellent talks, an engaging panel discussion, and plenty of time…
Footnote: Image from: http://ellenbloom.blogspot.com/2015/11/is-it-tile-or-is-it-crochet.html