top of page

Azure Functions vs Web Jobs vs Logic Apps.

Azure Functions:

Azure Functions is the serverless computing service hosted on the Microsoft Azure public cloud. Azure Functions, and serverless computing, in general, is designed to accelerate and simplify application development.


Azure Functions cane be used to achieve decoupling, reusability and shared. It is also used for productions environment.


Uses:

  • The Azure Event Hub can deliver different events that trigger functions related to conditions in the cloud environment or a user account.

  • A generic web hook can process HTTP requests, which allows triggers to come from websites or GitHub repositories.

  • Message traffic can trigger functions. For example, messages that arrive in an Azure Storage queue can trigger functions.

  • Timers can also trigger Functions, which allows users to execute regular tasks, such as file cleanups, on a regular schedule.


Web Jobs:

This is the feature of the Azure App Service that enables you to run program or script in the same instance as a web API app or mobile app. It sis a Cloud service to run background tasks.


Below are some of the files types that supports Web Jobs for script or programs.

  • .cmd, .bat, .exe (using Windows cmd)

  • .ps1 (using PowerShell)

  • .sh (using Bash)

  • .php (using PHP)

  • .py (using Python)

  • .js (using Node.js)

  • .jar (using Java)


Logic Apps:

Azure logic App is a cloud based platform to create and run automated workflows that integrate apps, data, Services and systems. These connector perform various actions in the workflow like logic Apps, durable azure functions.

Below are various types of triggers available for Azure Functions:

  • Queue Trigger

  • Timer Trigger

  • Event Trigger

  • Http Trigger




Difference between Azure functions and Azure Logic Apps.


Azure functions Azure Logic Apps

Trigger Azure Functions can be triggered with the Azure Logic Apps can be triggered

configured trigger like HTTPTrigger, with the API as connectors.

TimerTrigger, QueueTrigger and more It can also have multiple triggers in a

workflow.


Defining Workflow in Azure Functions can be defined Workflow on Azure Logic Apps can be

Workflow using Azure Durable Function. It consists defined with Logic App designer using

of Orchestrator Function that has the various APIs as Connector.

workflow defined with Several Activity

Functions


Monitoring Azure Functions can be monitored using Azure Logic Apps can be monitored

Application Insights and Azure Monitor using Log Analytics and Azure

Monitor

 


Difference Between Azure Functions and Wen Jobs


Azure Functions Web Jobs

Trigger Azure Functions can be triggered with any Web Jobs is of two types, Triggered

of the configured trigger, but it doesn’t Web Jobs and Continuous Web Jobs

run continuously


Supported Azure Functions support various languages Web Jobs also support various

Languages like C#, F#, JavaScript, node.js and more. languages like C#, F#, JavaScript and

more.


Deployment Azure Functions is a separate App Service Web Jobs run as a background service

that run in the App Service Plan for the App services like Web App,

API Apps and mobile Apps

 

Resources: Microsoft, Serverless360


The Tech Platform




1 comment

1 Comment


Guest
Oct 13, 2023

it says "Difference Between Azure Functions and Wen Jobs" it should be Difference Between Azure Functions and Web Jobs

Like
bottom of page