Azure Function App running multiple instances of async code

Bryce Mcvicar-laulau 1 Reputation point
2021-07-19T20:24:31.763+00:00

Hey there,

I have a project I'm working on that integrates Asana and DevOps.
I'm wanting to know the best practice for deploying this with the function app in regards to having multiple functions deployed to the function app.
At the moment I may have to have one instance of this project deployed to the function app per project I am wanting to integrate, I'll be using a timing trigger but I would like to know if this is the best way to solve my integration issues,

Cheers!

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,929 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jaliya Udagedara 2,836 Reputation points MVP Volunteer Moderator
    2021-07-21T07:46:49.623+00:00

    I'm wanting to know the best practice for deploying this with the function app in regards to having multiple functions deployed to the function app.

    This is an interesting question and is based on a couple of things. I would suggest reading this: Function organization best practices.

    At the moment I may have to have one instance of this project deployed to the function app per project I am wanting to integrate, I'll be using a timing trigger but I would like to know if this is the best way to solve my integration issues.

    I am sorry, I am kind of lost here, does that mean you need to have multiple timer trigger functions in a single function app and you need to know whether it's alright? If that's your question, I see no issue with that.

    0 comments No comments

  2. Pramod Valavala 20,656 Reputation points Microsoft Employee Moderator
    2021-07-22T13:35:54.723+00:00

    @Bryce Mcvicar-laulau Based on what you shared, I believe you are referring to having multiple tenants of Asana and/or Azure DevOps in play. If so and if the function is expected to day the same for any tenant, it would be best to just have multiple instances of the sample function running in an infinite loop.

    But this isn't straightforward to do with plain Azure Functions itself, instead leveraging Durable Functions and especially concepts like Durable Monitor and Eternal Orchestrations would be the way to go. You would start new instances and manage them as required.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.