Questions tagged [azure-durable-functions]

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

Durable Functions is an extension of Azure Functions and Azure WebJobs that lets you write stateful functions in a serverless environment. The extension manages state, checkpoints, and restarts for you.

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

668 questions
18
votes
4 answers

Clearing history while debugging azure durable functions

Durable functions keep a state in storage, this is what makes them work, but it is very troublesome while debugging and developing. I have a large number of runs which have not completed and that the system tries to run again when I start the…
user1038502
  • 767
  • 1
  • 9
  • 21
14
votes
1 answer

Durable Functions: How to pass a parameter to the Orchestrator?

I am new to Azure Durable functions and have been following the sample code in the book 'Azure Serverless Computing Cookbook' and I am stuck because the .GetInput function in my Orchestrator is return null. My Blob trigger is passing the file name…
PKonstant
  • 834
  • 2
  • 15
  • 32
14
votes
2 answers

Azure Durable function - InvalidOperationException when CallActivityAsync

I'm playing around with the Azure Durable functions. Currently I'm getting InvalidOperationException within Orchestration function after I call an activity. It complains that Multithreaded execution was detected. This can happen if the orchestrator…
zavolokas
  • 697
  • 1
  • 5
  • 20
13
votes
3 answers

Azure Function creating too many connections to PostgreSQL

I have an Azure Durable Function that interacts with a PostgreSQL database, also hosted in Azure. The PostgreSQL database has a connection limit of 50, and furthermore, my connection string limits the connection pool size to 40, leaving space for…
Scotty H
  • 6,432
  • 6
  • 41
  • 94
12
votes
5 answers

How to pass multiple parameters to Azure Durable Activity Function

My orchestrator receives a payload, with that payload it contains instructions that need to be passed along with other sets of data to activity functions. how do I pass multiple parameters to an activity function? Or do I have to mash all my data…
Ari
  • 5,301
  • 8
  • 46
  • 120
9
votes
1 answer

Is it safe to use async helper functions in an Azure Durable Functions Orchestator?

I am trying to track down some occasional Non-Deterministic workflow detected: TaskScheduledEvent: 0 TaskScheduled ... errors in a durable function project of ours. It is infrequent (3 times in 10,000 or so instances). When comparing the…
Gavin H
  • 10,274
  • 3
  • 35
  • 42
8
votes
1 answer

Durable Azure Functions and Integration Tests

I'm trying to test (integration tests) my Azure Durable Function v3 with SpecFlow and MSTest. Functions are initialized with DI and Startup class: [assembly: FunctionsStartup(typeof(Startup))] namespace MyNamespace.Functions { public class…
8
votes
1 answer

Azure Durable Framework Function App VERY Slow

I have made an app that uses azure functions durable fan-out strategy to make parallel inquiries and updates to a database by sending http requests to our own internal API. I found out that the fan-out strategy is EXTREMELY slower than it would be…
8
votes
0 answers

Azure Function Durable Timer does not wake up until app is touched

I have a Durable Orchestration that scales up and down Azure Cosmos DB throughput on request. The scale up is triggered via HTTP, and the scale down happens later via a Durable Timer that is supposed to wake up the Azure Function at the end of the…
Scotty H
  • 6,432
  • 6
  • 41
  • 94
8
votes
2 answers

How to check running status and stop Durable function

I want to process millions of records on-demand, which takes approximate 2-3 hours to process. I want to go serverless that is why tried durable function (first-time). I want to check, how long I can run durable function so I created 3…
Pankaj Rawat
  • 4,037
  • 6
  • 41
  • 73
7
votes
2 answers

Azure (Durable) Functions - Managing parallelism

I'm posting this question to see if I'm understanding parallelism in Azure Functions correctly, and particularly Durable Functions. The ability to set max degree of parallelism was recently added to Azure Functions using az…
Joe Eng
  • 1,072
  • 2
  • 15
  • 30
7
votes
5 answers

Could not load file or assembly 'System.Private.ServiceModel' in Azure Function v2

I used a v2 azure function (durable function) with custom dll (.net core 2.2) that calls a service and I get the following exception: Could not load file or assembly 'System.Private.ServiceModel, Version=4.1.2.4, Culture=neutral,…
7
votes
4 answers

Only Fan-out (and forget) in Durable Functions

I have an existing Function App with 2 Functions and a storage queue. F1 is triggered by a message in a service bus topic. For each msg received, F1 calculates some sub-tasks (T1,T2,...) which have to be executed with varying amount of delay. Ex -…
6
votes
3 answers

Azure Durable Function Invoke without HttpTrigger (Autostart)

I am looking at this example to run a durable function Activity after a set timeout. https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-eternal-orchestrations This will allow my function activity to perform processing…
aherrick
  • 19,799
  • 33
  • 112
  • 188
6
votes
2 answers

Azure Durable orchestration function triggering twice

I am trying to implement an Azure Durable Function workflow. Every 6 minutes I have an Azure TimerTrigger function calls an Azure Orchestration Function (OrchestrationTrigger), that in turn starts a number of activity functions (ActivityTrigger).…
Jeppe
  • 1,424
  • 2
  • 15
  • 36
1
2 3
44 45