mirror of https://github.com/dapr/docs.git
update diagrams
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
parent
225c6909c1
commit
5a0eb8bae0
|
@ -16,6 +16,8 @@ For information on how to author workflows that are executed by the Dapr workflo
|
|||
|
||||
The Dapr Workflow engine is internally implemented using then open source [durabletask-go](https://github.com/microsoft/durabletask-go) library, which is embedded directly into the Dapr sidecar. Dapr implements a custom durable task "backend" using internally managed actors, which manage workflow scale-out, persistence, and leader election. This article will go into more details in subsequent sections.
|
||||
|
||||
<img src="/images/workflow-overview/workflows-architecture-k8s.png" width=800 alt="Diagram showing how the workflow architecture works in Kubernetes mode">
|
||||
|
||||
## Sidecar interactions
|
||||
|
||||
TODO: Describe the gRPC protocol used in the SDK/sidecar interactions. Make sure to also emphasize the responsibilities of the app vs. the responsibilities of the sidecar.
|
||||
|
|
|
@ -18,6 +18,9 @@ The durable, resilient Dapr Workflow API:
|
|||
- Offers a built-in workflow runtime to write Dapr workflows (of type `workflow.dapr`)
|
||||
- Will integrate with future supported external workflow runtime components
|
||||
|
||||
<img src="/images/workflow-overview/workflow-overview.png" width=800 alt="Diagram showing basics of Dapr workflows">
|
||||
|
||||
|
||||
The Workflow building block can assist with scenarios like:
|
||||
- Order processing involving inventory management, payment systems, shipping, etc.
|
||||
- HR onboarding workflows coordinating tasks across multiple departments and participatns
|
||||
|
@ -32,7 +35,6 @@ The Dapr Workflow engine runs in the Dapr sidecar and consists of:
|
|||
|
||||
The workflow engine is internally powered by Dapr's actor runtime. In the following diagram demonstrates the Dapr Workflow architecture in Kubernetes mode:
|
||||
|
||||
<img src="/images/workflow-overview/workflows-architecture-k8s.png" width=800 alt="Diagram showing how the workflow architecture works in Kubernetes mode">
|
||||
|
||||
Essentially, to use the Dapr Workflow building block, you write workflow code in your application using the SDK and connect to the sidecar using gRPC stream. This will register the workflow and any workflow activities, or tasks that workflows can schedule.
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 113 KiB |
Loading…
Reference in New Issue