Replies: 1 comment 1 reply
-
We're currently working through some plans to enable splitting an orchestration across multiple function apps, which would allow you to (among other things) have an app that runs on dedicated compute with its own concurrency configuration, separate from the "main" orchestration app. I think that would solve the issue you're trying to solve through this feature suggestion. I can't go into too many more details now, but more will be announced later. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think, it would be a good idea to have an option in TaskOptons of Activity that will act as
"maxConcurrentActiveityFunctions": 1
global configuration option but for that particular Activity. This new option/flag would be very useful when some activities should run under their own dedicated instance.Here is our use case where this option would be very effective:
We use Azure Durable Function App to manipulate (merge, add pagination etc.) and also run OCR process to produce searchable PDF files (Court Transcripts). Since the OCR process is very memory intensive, we configured the activities to run on a single instance by having
"maxConcurrentActiveityFunctions": 1
in the host.json. This works well but it is very costly since the other Activities (e.g. assemble, update DB, clean up etc.) also run in their own instances instead of sharing one.If considered, the option should override the global configuration "maxConcurrentActiveityFunctions" for the Activity.
The same can be applied to Orchestration by adding the option under the "StartOrchestrationOptions".
Beta Was this translation helpful? Give feedback.
All reactions