Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olahallvall authored Apr 23, 2024
1 parent 8c4da91 commit 0ddc074
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ In short - by replacing **System.Transactions.TransactionScope** with **FlowDanc
In the center of **FlowDance**, there is something called a **Span**. A **Span** carries the information for how a transaction can be compensated.
A **Span** is initialized using the **SpanOpened** event and closed using the **SpanClosed** event. The image below illustrates a **Span** with a blue bracket.
The initial Span is called the Root Span, and it serves as the starting point for subsequent calls. Subsequent Spans share the same Correlation ID as the Root Span.
When **Spans** are created, they are stored in a **RabbitMQ Stream**. A **Stream** is a persistent and replicated data structure that models an append-only log with non-destructive consumer semantics. Unlike traditional queues, which delete messages once consumed, streams allow consumers to attach at any point in the log and read from there. They provide a powerful way to manage and process messages efficiently. 🐰📜

![Synchronous choreography-based call chains supported by FlowDance](Docs/spans-saved-in-rabbitmq.png)



![Synchronous choreography-based call chains supported by FlowDance](Docs/synchronous-choreography-based-call-chains-with-span.png)

Expand Down

0 comments on commit 0ddc074

Please sign in to comment.