Find What You Need

Search documentation

Version v0.1 · dotnet

Found 23 result(s) for "retry".

v0.1 · dotnet

Advanced Options

...chSize - Eventing.IngestionMaxRequestBodyBytes - Eventing.IngestionMaxRetryAttempts - Eventing.IngestionFlushIntervalSeconds - Eventing.IncludeErrorDetail - Eventing.MaxErrorDetailLength Event ingesti...

Open page

v0.1 · dotnet

Background Processing Patterns

...ain services for business logic. Benefits: - easier testing - clearer retry boundaries - cleaner dependency graph Retry-aware external calls When calling external systems: - treat transient failures a...

Open page

v0.1 · dotnet

Configuration

...mblies job-discovery-and-assemblies - Worker Options worker-options - Retry Policy retry-policy - Lease Configuration lease-configuration - Recurring Settings recurring-settings - Advanced Options adv...

Open page

v0.1 · dotnet

Configuration Options

...conds : lease TTL in seconds <= 0 resets to default . Default: 30 . - RetryDelay : base retry delay TimeSpan format in config binding . Default: 00:00:05 . - RetryMaxDelay : maximum retry backoff Time...

Open page

v0.1 · dotnet

Configuration Schema

...bled PollJitterRatio BatchSize MaxConcurrentRuns LeaseDurationSeconds RetryDelay RetryMaxDelay RetryJitterEnabled RetryJitterRatio JobActivation Postgres.ConnectionString SqlServer.ConnectionString Sq...

Open page

v0.1 · dotnet

Deployment Checklist

...ormat for all instances. - Confirm retention policy values. - Confirm retry and lease settings for expected workload profile. Deployment steps - Run store migrations IDurableStackStoreMigrator . - Dep...

Open page

v0.1 · dotnet

Distributed Execution

... single active lease owner in normal operation - durable recovery and retry when interruptions occur Worker identity in distributed environments Set a unique WorkerName per process/container. DurableS...

Open page

v0.1 · dotnet

Error Handling

...invalid payload, invariant violations, unrecoverable contract errors. Retry interaction - Retry eligibility: Attempt < MaxAttempts . - Retry timing: fixed delay or backoff based on job/runtime setting...

Open page

v0.1 · dotnet

Events and Event Sinks

...ob claimed - job started - job succeeded - job failed - job retried - retry scheduled - worker heartbeat How sinks are wired - DurableStack always has a no-op sink by default. - You can add logging si...

Open page

v0.1 · dotnet

Example Tasks

... csharp DurableJob Name = "sync-third-party-orders", MaxAttempts = 6, RetryBehavior = RetryBehavior.Backoff, RetryInitialDelaySeconds = 15 RecurringJob " /10 ", TimeZone = "UTC", AllowConcurrentRuns =...

Open page

v0.1 · dotnet

First Job Example

...pendencyInjection; DurableJob Name = "invoice-sync", MaxAttempts = 5, RetryBehavior = RetryBehavior.Backoff, RetryInitialDelaySeconds = 10 RecurringJob " /5 ", TimeZone = "UTC", Enabled = true, AllowC...

Open page

v0.1 · dotnet

Getting Started

... Default: 5 options.LeaseDurationSeconds = 30; // Default: 30 options.RetryDelay = TimeSpan.FromSeconds 5 ; // Default: 00:00:05 options.RetryMaxDelay = TimeSpan.FromMinutes 60 ; // Default: 01:00:00 ...

Open page

v0.1 · dotnet

Job Model

...pendencyInjection; DurableJob Name = "invoice-sync", MaxAttempts = 5, RetryBehavior = RetryBehavior.Backoff, RetryInitialDelaySeconds = 10 RecurringJob " /5 ", TimeZone = "UTC", Enabled = true, AllowC...

Open page

v0.1 · dotnet

Limits and Guarantees

...orker settings BatchSize , MaxConcurrentRuns and provider capacity. - Retry behavior is bounded by MaxAttempts , delay strategy, and optional max delay. Distributed system reality DurableStack is desi...

Open page

v0.1 · dotnet

Observability Overview

...operations context - Support/on-call teams investigating failures and retry behavior What this docs section intentionally avoids This section does not document internal implementation details or servi...

Open page

v0.1 · dotnet

Overview

...age provider. - Set worker identity and polling behavior. - Configure retry and lease semantics. - Configure recurring job behavior. - Add advanced options only when needed. Recommended baseline cshar...

Open page

v0.1 · dotnet

Performance Tuning

...ervalSeconds - BatchSize - MaxConcurrentRuns - LeaseDurationSeconds - RetryDelay / RetryMaxDelay / retry jitter Throughput tuning sequence - Increase MaxConcurrentRuns in small steps. - Increase Batch...

Open page

v0.1 · dotnet

Production Guidelines

...e conservative max attempts for non-idempotent side effects. - Prefer retry backoff for unstable external dependencies. Observability and alerting - Alert on failure-rate spikes and missing worker hea...

Open page

v0.1 · dotnet

Provider Contract

...uns safely with lease ownership. - Mark runs succeeded or failed with retry metadata. - Query runs by ID, status, and job. - Support recurring job state operations. - Support retention pruning behavio...

Open page

v0.1 · dotnet

Reliability & Execution Model

...d successfully. - failed : terminal failure after max attempts or non-retry path. If a failure is retry-eligible, the run is re-scheduled as pending for a future retry time. Claim and execution flow F...

Open page

v0.1 · dotnet

Retry Policy

Retry Policy When a job throws, DurableStack evaluates retry eligibility using the current attempt and MaxAttempts , then schedules the next try with either fixed delay or backoff. Retry rule - Retry ...

Open page

v0.1 · dotnet

Testing Strategy

...ast: - enqueue + run success path - delayed schedule execution path - retry transitions and terminal failure - recurring materialization behavior - lease recovery after worker interruption Provider-fo...

Open page

v0.1 · dotnet

Troubleshooting

...e . - Verify provider connection and migrations completed. Unexpected retry behavior - Verify MaxAttempts for the job. - Check RetryBehavior , delay, and jitter settings. - Confirm exception path actu...

Open page