Serverless Computing (Do You Know series)
Serverless computing is a category of cloud computing service that encapsulates two of the main selling points - nearly entirely hands-off and you only pay for what you use.
Serverless computing services, such as AWS Lambda or Azure Function are built to run snippets of code that carry out a single task. These self-contained blocks of code, known as Functions, have no dependencies on any other code and as such can be deployed and executed wherever and whenever they are needed.
The fact is, even though it is called serverless, servers are still involved. But, as a fully managed service, the setup, capacity planning and server management are invisible to you because they are handled by the cloud provider.
The key benefits of serverless is:
A. You don't need to provision or maintain the servers and platform
B. Your application can be scaled automatically or by adjusting its capacity through toggling the units of consumption
C. You pay for consistent throughput or execution duration rather than by server unit.
D. Serverless provides built-in availability and fault tolerance.