Monday, December 6, 2021

Discover Azure Functions

Azure Functions are a great solution for processing data, integrating systems, working with the internet-of-things (IoT), and building simple APIs and microservices. Consider Functions for tasks like image or order processing, file maintenance, or for any tasks that you want to run on a schedule. Functions provides templates to get you started with key scenarios.

Azure Functions supports triggers, which are ways to start execution of your code, and bindings, which are ways to simplify coding for input and output data. There are other integration and automation services in Azure and they all can solve integration problems and automate business processes. They can all define input, actions, conditions, and output.

Compare Azure Functions and Azure Logic Apps

Both Functions and Logic Apps enable serverless workloads. Azure Functions is a serverless compute service, whereas Azure Logic Apps provides serverless workflows. Both can create complex orchestrations. An orchestration is a collection of functions or steps, called actions in Logic Apps, that are executed to accomplish a complex task.

For Azure Functions, you develop orchestrations by writing code and using the Durable Functions extension. For Logic Apps, you create orchestrations by using a GUI or editing configuration files.

You can mix and match services when you build an orchestration, calling functions from logic apps and calling logic apps from functions. The following table lists some of the key differences between these:

Durable FunctionsLogic Apps
DevelopmentCode-first (imperative)Designer-first (declarative)
ConnectivityAbout a dozen built-in binding types, write code for custom bindingsLarge collection of connectors, Enterprise Integration Pack for B2B scenarios, build custom connectors
ActionsEach activity is an Azure function; write code for activity functionsLarge collection of ready-made actions
MonitoringAzure Application InsightsAzure portal, Azure Monitor logs
ManagementREST API, Visual StudioAzure portal, REST API, PowerShell, Visual Studio
Execution contextCan run locally or in the cloudRuns only in the cloud

Compare Functions and WebJobs

Like Azure Functions, Azure App Service WebJobs with the WebJobs SDK is a code-first integration service that is designed for developers. Both are built on Azure App Service and support features such as source control integration, authentication, and monitoring with Application Insights integration.

Azure Functions is built on the WebJobs SDK, so it shares many of the same event triggers and connections to other Azure services. Here are some factors to consider when you’re choosing between Azure Functions and WebJobs with the WebJobs SDK:

FunctionsWebJobs with WebJobs SDK
Serverless app model with automatic scalingYesNo
Develop and test in browserYesNo
Pay-per-use pricingYesNo
Integration with Logic AppsYesNo
Trigger eventsTimer
Azure Storage queues and blobs
Azure Service Bus queues and topics
Azure Cosmos DB
Azure Event Hubs
HTTP/WebHook (GitHub
Azure Event Grid
Azure Storage queues and blobs
Azure Service Bus queues and topics
Azure Cosmos DB
Azure Event Hubs
File system

Azure Functions offers more developer productivity than Azure App Service WebJobs does. It also offers more options for programming languages, development environments, Azure service integration, and pricing. For most scenarios, it’s the best choice.

Discover Azure Functions
Nishchal Basyal
Passionate About Digital Marketing and Owner Of Mostly Engage On Techy and Digital Marketing World, and Blockchain Lover


Please enter your comment!
Please enter your name here

Most Popular

Recent Comments

Share via
Copy link
Powered by Social Snap