Table of Contents

Function as a Service (FaaS)

Return to Serverless computing, Serverless Framework, Azure Functions, OpenFaaS, AWS Lambda, Google Cloud Functions, Cloud Computing topics, as a Service (aaS), DevOps, Azure-AWS-GCP

Function as a service (FaaS) is a category of cloud computing services that provides a platform allowing customers to develop, run, and manage application functionalities without the complexity of building and maintaining the on-prem infrastructure typically associated with developing and launching an app.1) Building an application following this cloud computing model is one way of achieving a “serverlesscloud architecture, and is typically used when building microservices applications.

FaaS was initially offered by various start-ups circa 2010, such as PiCloud.2)

AWS Lambda3) was the first FaaS offering by a large public cloud vendor, followed by Google Cloud Functions4), Microsoft Azure Functions, IBM/Apache's OpenWhisk (open source) in 2016 and Oracle Cloud Fn (open source) in 2017.

Use cases

Use cases for FaaS are associated with “on-demand” functionality that enables the supporting infrastructure to be powered down and not incurring charges when not in use. Examples include data processing (e.g., batch processing, stream processing, extract-transform-load (ETL)), Internet of things (IoT) services for Internet-connected devices, mobile applications, and web applications.<ref>

</ref>

Comparison with PaaS application hosting services

Platform as a service (PaaS) application hosting services are similar to FaaS in that they also hide “servers” from developers. However, such hosting services typically always have at least one server process running that receives external requests. Scaling is achieved by booting up more server processes, which the developer is typically charged directly for. Consequently, scalability remains visible to the developer.<ref>

</ref>

By contrast, FaaS does not require any server process constantly being run. While an initial request may take longer to be handled than an application hosting platform (up to several seconds<ref>

</ref>), caching may enable subsequent requests to be handled within milliseconds. As developers only pay for function execution time (and no process idle time), lower costs at higher scalability can be archieved (at the cost of latency).

See also

Fair Use Source:

Snippet from Wikipedia: Function as a service

Function as a service (FaaS) is a category of cloud computing services that provides a platform allowing customers to develop, run, and manage application functionalities without the complexity of building and maintaining the infrastructure typically associated with developing and launching an app. Building an application following this model is one way of achieving a "serverless" architecture, and is typically used when building microservices applications.

FaaS was initially offered by various start-ups circa 2010, such as PiCloud.

AWS Lambda was the first FaaS offering by a large public cloud vendor, followed by Google Cloud Functions, Microsoft Azure Functions, IBM/Apache's OpenWhisk (open source) in 2016 and Oracle Cloud Fn (open source) in 2017.

Cloud platforms As a service