Question 8 of 10Pro Only
Explain the saga pattern for managing distributed transactions across microservices. What are the choreography and orchestration approaches?
Sample answer preview
The saga pattern manages data consistency across multiple microservices without relying on distributed transactions like two-phase commit, which are impractical in microservices architectures due to their blocking nature and tight coupling requirements.
saga patternchoreographyorchestrationcompensating transactionseventual consistencylocal transactions