user1038502
user1038502

Reputation: 837

How to determine that a job has completed using Azure functions

I am working on a project that has the following setup.

One run of the process would generate roughly 100000 function calls in total.

I would like to know when the whole process is complete so that I can do some post processing. What would be the best way to achieve this?

I can think of two ways:

Any better ideas?

Upvotes: 1

Views: 778

Answers (1)

pkatsourakis
pkatsourakis

Reputation: 1082

Durable functions would be worth looking into. The way they work is you have one function run which orchestrates the processing of normal functions. The durable function maintains it's state for the duration of all the sub-functions. So after all of your sub-functions complete you can call a single completed function.

See https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-overview

Upvotes: 1

Related Questions