Open shadanMS opened 4 months ago
Hey, we are using DTFX for async job, but we are getting significant latency while creating orchestration instances.
"Task task = DTFxClient.CreateOrchestrationInstanceAsync( NameVersionHelper.GetDefaultName(orchestrationType), NameVersionHelper.GetDefaultVersion(orchestrationType), instanceId, input, tags, dedupeStatuses);
var result = await task;"
We are awaiting on the task so that it can give guaranty to the caller that instances have been queued. But that await is causing latency to shoot up as in worst case we are getting max delay of 3 to 5 mint for this task to finish.
Hey, we are using DTFX for async job, but we are getting significant latency while creating orchestration instances.
"Task task = DTFxClient.CreateOrchestrationInstanceAsync(
NameVersionHelper.GetDefaultName(orchestrationType),
NameVersionHelper.GetDefaultVersion(orchestrationType),
instanceId,
input,
tags,
dedupeStatuses);
var result = await task;"
We are awaiting on the task so that it can give guaranty to the caller that instances have been queued. But that await is causing latency to shoot up as in worst case we are getting max delay of 3 to 5 mint for this task to finish.