Tuesday, September 15, 2020

Webjob types

What is WebJob ? 

WebJob is a feature of Azure App Service that enables you to run a program or script in the same context as a web app, API app or mobile app.

There is no additional cost to use WebJobs.


Which of the following type of web job would be used for the following scenario ?

Having the ability to run on all the instances that the web app runs on 

WebJob Types:

The following table describes the differences b/w continuous and triggered WebJobs.

Continuous 

1. Starts immediately when the WebJob is created. To keep the job from ending, the program  or script typically does it work inside an endless loop. If the job does end, you can restart it.

2. Runs on all instances that the web app runs on. You can optionally restrict the WebJob to a single instance.

3. Supports remote debugging.

Triggered

1. Starts only when triggered manually or on a schedule.

2. Runs on a single instance that Azure selects for load balancing.

3. Does not support remote debugging.










No comments:

Post a Comment