docs: updates to several patterns

This commit is contained in:
Ilkka Seppälä committed 2024-05-28 19:46:39 +03:00
1 parent 4652842c94
commit 584e949714
70 files changed
+347 -479

No files matched your search

-4
View File
@@ -158,10 +158,6 @@ Running the example produces the following console output:
This is a basic example of how to use the Saga design pattern. In a real-world application, the `Saga` class would manage the sequence of local transactions, ensuring that each transaction is performed in the correct order and that the Saga is rolled back if a transaction fails.
## Class diagram
![Saga](./etc/saga.urm.png "Saga pattern class diagram")
## Applicability
* When you have a complex transaction that spans multiple microservices.