Azure Web Job - Performance impact of multiple functions in the same web job and/or multiple web jobs in the same web app?

前端 未结 2 1757
醉酒成梦
醉酒成梦 2020-12-11 17:18

There are 3 ways to deploy a new function via web job:

  1. Create a new web app, and deploy a web job with the function in it.
  2. Add a new function to an ex
2条回答
  •  自闭症患者
    2020-12-11 17:49

    As I know, you could leverage WebJobs to execute custom jobs based on different types (scripts, executable programs, etc.) within the context of a web app. In order to minimize the impact of WebJobs on the performance of the web app, you could try to create an empty Azure Web App in the new App Service Plan to host your WebJobs which could do some long-running workflows, I/O-intensive jobs, CPU-intensive jobs, etc. I recommend that you could refer to best-practices-background-jobs. Also, there is a related thread about Azure Webjobs: One Job with several Functions, or several Jobs with 1 function each, you could refer to it.

提交回复
热议问题