Serverless computing
- Serverless computing is the idea that servers, infrastructure, or operating systems are behind the scenes, and for users, they do not exist.
- Infrastructure isn’t your responsibility.
- Scaling and performance are automatically taken care of.
- Azure takes care of the servers and how resources are allocated and deallocated.
- Micro-billing: Pay only for the time their code runs.
- For example, if the code runs once a day for two minutes, they’re charged for one execution and two minutes of computing time.
- There isn’t even a need to reserve capacity.
- Event-driven: Excellent fit for workloads that respond to incoming events. Events include triggers by:
- Timers, for example, if a function needs to run every day at 10:00 AM UTC.
- HTTP, for example, API and webhook scenarios.
- Queues, for example, with order processing.
- And much more.
- Azure has two implementations of serverless computing:
- Azure Functions: Functions can execute code in almost any modern language.
- Azure Logic Apps: Logic apps are designed by a web-based designer and can execute logic triggered by Azure services without writing any code.