What is FaaS

A introduction to FaaS

Published on Saturday, 09 January 2021

What is serverless cloud computing ?

In simple terms serverless computing is bit sided code, unit of discrete components which does one thing in one fine life span. All the responsibilities are delegated to the service provider. Like amazon aws and microsoft azure.

Responsibilities like choosing an operating system, Capacity management and planning, scaling and reliability of the server anything that breaks this responsibility by the vendor is not fully serverless.

We are only responsible for maintaining the code. Developer is no longer involved in hosting the web-app/code online ( server/cloud) no Need to maintain the computing resources like Server, RAM, CPU or any hardware infrastructure.

Example, let's talk about Azure function or AWS Lambda. As developers, we no longer have to think about which OS or language to use, deployment, and scaling with fault tolerance, logs, updates, metrics, etc. All of this is taken care of by the vendor. In this case, Microsoft or Amazon. We simply outsource these responsibilities to them.

"According to wikipedia Serverless computing is a cloud computing execution model in which the cloud provider allocates machine resources on demand, taking care of the servers on behalf of the their customers. Pricing is based on the actual amount of resources consumed by an application , However developers of serverless applications are not concerned with capacity planning, configuration, management, maintenance, operating or scaling of containers, VMs, or physical servers."

Which vendors are providing serverless cloud computing?

AWS Lambda:

supported languages node, java, C#, python. Triggers kinesis, Amazon DynamoDB, SQS, Amazon S3, CloudWatch,Cognito, Config, lex. Known features dynamic scaling, Cross AZ, Custom runtimes, HTTP via API GateWay, Workflow with step functions, Extensible layers.


Azure functions:

supported languages C#, F#, Java, Node. Azure Triggers Blob, Azure Cosmos DB, Azure Event Grid, Azure Event Hubs, Azure HTTP triggers, Azure Service Bus, Time Triggers.


Google Cloud:

Supported Languages. Node, python, GO Available triggers HTTP, pub/sub, Storage, FireStore, Firebase, Scheduler Features to know Auto Scaled with “max” option, Version draining, Function can run under unique identities


Cloudflare

Supported languages Javascript, webassembly Available triggers HTTP Features to know Deploy to 160+ edge data centers, Respond in milliseconds, Workers kv for close data.


Installable FaaS

If your enterprise can effort a data center then consider this opens source FaaS platforms Knative, Apache openwhisk, Kubeless, Pivotal function service, IBM cloud private, GitLab

How much does it cost? Do you need serverless?

Cost estimation for your serverless function add in the requirement and it will estimate a cost for you. serverlesscalc.com, If you think you need a serverless services? Should your webapp should be a serverless? Then you can check that with the below link. servers.lol.