mirror of https://github.com/dapr/docs.git
parent
cc7a5494fd
commit
ab59b73cc9
|
|
@ -10,23 +10,23 @@ description: "Overview of Dapr Workflow"
|
||||||
Dapr Workflow is currently in alpha.
|
Dapr Workflow is currently in alpha.
|
||||||
{{% /alert %}}
|
{{% /alert %}}
|
||||||
|
|
||||||
Dapr Workflow makes orchestrating logic for messaging, state management, and failure handling across various microservices easier for developers. Prior to adding workflows to Dapr, you'd often need to build ad-hoc workflows behind-the-scenes in order to bridge that gap.
|
Dapr Workflow makes orchestrating the logic required for messaging, state management, and failure handling across various microservices easier for developers. Dapr Workflows enable you to create long running, fault-tolerant, stateful applications. Prior to Dapr workflows you'd often need to build ad-hoc workflows in custom, hard to write code in order to achieve long running, fault-tolerant, stateful applications.
|
||||||
|
|
||||||
The durable, resilient Dapr Workflow capability:
|
The durable, resilient Dapr Workflow capability:
|
||||||
|
|
||||||
- Offers a built-in workflow runtime for driving Dapr Workflow execution
|
- Offers a built-in workflow runtime for driving Dapr Workflow execution
|
||||||
- Provides SDKs for authoring workflows in code, using any language
|
- Provides SDKs for authoring workflows in code, using any language
|
||||||
- Provides HTTP and gRPC APIs for managing workflows (start, query, suspend/resume, terminate)
|
- Provides HTTP and gRPC APIs for managing workflows (start, query, suspend/resume, terminate)
|
||||||
- Will integrate with future supported external workflow runtime components
|
- Integrates with any other workflow runtime via workflow components
|
||||||
|
|
||||||
<img src="/images/workflow-overview/workflow-overview.png" width=800 alt="Diagram showing basics of Dapr Workflows">
|
<img src="/images/workflow-overview/workflow-overview.png" width=800 alt="Diagram showing basics of Dapr Workflows">
|
||||||
|
|
||||||
Dapr Workflows can assist with scenarios like:
|
Some example scenarios that Dapr Workflows can perform are:
|
||||||
|
|
||||||
- Order processing involving inventory management, payment systems, shipping, etc.
|
- Order processing involving inventory management, payment systems, shipping, etc.
|
||||||
- HR onboarding workflows coordinating tasks across multiple departments and participants
|
- HR onboarding workflows coordinating tasks across multiple departments and participants.
|
||||||
- Orchestrating the roll-out of digital menu updates in a national restaurant chain
|
- Orchestrating the roll-out of digital menu updates in a national restaurant chain.
|
||||||
- Image processing workflows involving API-based classification and storage
|
- Image processing workflows involving API-based classification and storage.
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
@ -47,7 +47,7 @@ In addition to activities, you can write workflows to schedule other workflows a
|
||||||
|
|
||||||
### Timers and reminders
|
### Timers and reminders
|
||||||
|
|
||||||
Like in user-defined actors, you can schedule reminder-like durable delays for any time range.
|
Same as Dapr actors, you can schedule reminder-like durable delays for any time range.
|
||||||
|
|
||||||
[Learn more about workflow timers]({{< ref "workflow-features-concepts.md#durable-timers" >}}) and [reminders]({{< ref "workflow-architecture.md#reminder-usage-and-execution-guarantees" >}})
|
[Learn more about workflow timers]({{< ref "workflow-features-concepts.md#durable-timers" >}}) and [reminders]({{< ref "workflow-architecture.md#reminder-usage-and-execution-guarantees" >}})
|
||||||
|
|
||||||
|
|
@ -64,7 +64,6 @@ When you create an application with workflow code and run it with Dapr, you can
|
||||||
|
|
||||||
You can call other workflow runtimes (for example, Temporal and Netflix Conductor) by writing your own workflow component.
|
You can call other workflow runtimes (for example, Temporal and Netflix Conductor) by writing your own workflow component.
|
||||||
|
|
||||||
|
|
||||||
## Workflow patterns
|
## Workflow patterns
|
||||||
|
|
||||||
Dapr Workflows simplify complex, stateful coordination requirements in microservice architectures. The following sections describe several application patterns that can benefit from Dapr Workflows.
|
Dapr Workflows simplify complex, stateful coordination requirements in microservice architectures. The following sections describe several application patterns that can benefit from Dapr Workflows.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue