In the case of microservices architecture, it is typical that a user’s request can span multiple services. Saga pattern is a microservice architectural pattern to implement a transaction that can span across multiple services.
Every service in a saga performance its transaction for the request and publishes an event. Other services listen to the published event and perform the next local transaction. If any of the transactions in the end-to-end flow fails for any reason, the saga pattern implementation will execute required transactions to undo the impact of preceding transactions.
Saga pattern is very useful in maintaining data consistency across multiple services in a microservices architecture.
Posted Date:- 2021-09-24 06:02:12
Why do Microservices require a DevOps approach??
What is a bounded context in microservices?
What is the Service Discovery pattern in microservices?
What is a Log aggregator pattern in Microservices?
What tools can be used for monitoring microservices?
What is feign client in microservices?
What are the most common mistakes while transitioning to Microservices?
Which acts as a database of services in microservices?
How are the problems with distributed transactions addressed in microservices?
What is a circuit breaker pattern in Microservices?
What is the CQRS pattern in microservice??
What is a saga pattern in microservices?
Efficient utilization & fast deployment represent which pattern in microservices?
What is Tasklet, and what is a Chunk? ↑
What is blue/green deployment?
What is load balancing in Spring Cloud?
What factors make one hesitant to use microservices?
List some of the best practices to design Microservices.
Briefly tell about serverless deployment strategy of Microservices deployment.
What are the three types of tests for Microservices?
What is a ‘dumb pipe’ in Microservices?
How to implement microservices in java?
Why are containers a good infrastructure for microservices?
What is Spring Cloud Gateway? What are its advantages over Netflix Zuul
How to achieve server side load balancing using Spring Cloud
What does one mean by Load Balancing ? How is it implemented in Spring Cloud
Give one/a few examples of microservices implementation.
Where is the WebMVC Test Annotation used?
What are the most common mistakes while transitioning to Microservices?
How do you create State Machines out of Microservices?
How to achieve zero-downtime deployment(blue/green) when there is a database change?
Can we create State Machines out of Microservices?
What is Continuous Monitoring?
What do you mean by Continuous Integration (CI)?
How will you deploy Exception Handling in Microservices?
What is Tasklet, and what is a Chunk?
What is Spring Batch Framework?
When will you see fit to use the Netflix Hystrix?
How will you balance the server-side load by utilizing Spring Cloud?
What are Reactive Extensions in Microservices?
What are the different types of credentials of a two-factor Authentication?
What is the difference between Mock & Stub?
What can you derive/understand from Conway’s Law?
How will you Configure Spring Boot Application Login?
How can we eradicate non-determinism in tests?