Author : MD TAREQ HASSAN | Updated : 2020/10/27
Serverless computing
See: Explain serverless computing
Functions in serverless computing
- single-purpose programmatic functions
- small pieces of code that do single things
- small piece of code that runs on demand (i.e. executed only when a server call is made)
- Encapsulates event-driven, server-like logic without a full-blown server
- Serverless functions can talk to databases, call third-party services, process user input and more
What is Azure functions?
- Azure Functions is a serverless compute option that supports functions
- Azure Functions allows you to run small pieces of code (called “functions”) without worrying about application infrastructure
- A serverless compute service that enables user to run event-triggered code without having to provision or manage infrastructure
- An event driven, compute-on-demand service in the Azure cloud
- Details: https://docs.microsoft.com/en-us/azure/azure-functions/functions-overview
Evolution of WebJobs - standalone and improved version of WebJobs
Why to use Azure functions?
- Low cost: pay-per-use pricing model
- Flexible development
- Choice of language (C#, Java, JavaScript, Python, and PowerShell.)
- Simplified integration
- Integrated security (Open ID Connect: Azure Active Directory, Facebook, Google, Twitter etc.)
- Stateful serverless architecture(Durable Functions)