0% completed
Performance Implications
Issues, Special Considerations, and Performance Implications
As we saw in our Java example, the Saga Pattern elegantly tackles the problem of data consistency in microservices. But, just like any other pattern or technology, it's not without its issues and special considerations. You're curious about what these are, right? Here they are.
Issue 1: Complexity
The first issue is complexity. Remember how we split a large transaction into several smaller ones? That does ensure data consistency, but it also adds complexity
.....
.....
.....
Mudassar Ali
· 2 years ago
Is the orchestrator kind of two phase commits.
Also there is another pattern which i find more robust is outbox pattern its kind of choreography with addition guarantee that local transaction and event published are done in a transaction so that either both event and db is updated or both fail.