“Serverless” is a cloud computing model in which organizations do not have to worry about managing physical servers or virtual machines. Instead, they can focus on writing code for specific purposes which can be deployed virtually without configuration on a cloud platform. The cloud provider thereby takes care of all infrastructure management tasks, such as scalability and server and platform maintenance.
Key features of serverless computing are:
- Event-driven: Serverless functions are often triggered by specific events, such as HTTP requests, database updates, or messages in a queue (also called a message queue). Code is executed only when needed in response to these events.
- Scalability: Serverless platforms automatically scale the computing power required up and down based on load. This means you don’t have to plan for peak times or excess capacity.
- Short execution time: Serverless functions are usually executed in a short period of time. This makes them suitable for tasks such as data processing, microservices and APIs.
- Cost model: You pay only for the actual computing power used, rather than paying for ongoing server fees.