Throughput Tuning
Small, release-backed Elsa 3.8.0 configuration examples for testing commit, worker, and transactional-outbox tradeoffs under load.
Register selectable commit strategies
using Elsa.Extensions;
using Elsa.Workflows.CommitStates;
using Elsa.Workflows.CommitStates.Strategies;
builder.Services.AddElsa(elsa =>
{
elsa.UseWorkflows(workflows =>
{
workflows.UseCommitStrategies(strategies =>
{
strategies.AddStandardStrategies();
strategies.Add(
"Periodic30Seconds",
"Every 30 seconds",
"Commit workflow state at least every 30 seconds during execution.",
new PeriodicWorkflowStrategy(TimeSpan.FromSeconds(30)));
});
});
});Set a host fallback
Increase only the measured worker queue
Use the transactional outbox for in-workflow dispatch
Compare results consistently
Last updated