CQRS stands for Command Query Responsibility Segregation. At its heart is the notion that you can use a different model to update information than the model you use to read information. In this course Rupesh will design & solve a problem for ticket booking app for high traffic environment.
Asynchronous messaging provides a simple scalable pattern that businesses must take advantage of if they want to succeed. In a complex microservices system, queries often need to join data in ways not supported by the initial domain model. This is where Command Query Responsibility Segregation (CQRS) comes into play; by separating the read and write models of a system.
When events are being communicated between multiple systems, asynchronous communication is the most efficient. Using CQRS and microservices lets you build systems that communicate asynchronously while being easily maintainable and scalable. In addition, you can implement robust microservices which prevent failures because the actors are “self-healing”.
This means that there is a very low chance your service will ever completely go down, and the risk of losing thousands of dollars on an outage is mitigated.
Hi! My name is Rupesh Tiwari.
I am a software architect and pluralsight author. My life's mission is to help students, beginners and professionals to increase their programming & system design skills. By just not making them a coding expert rather than teaching them the real Software Engineering Principles. Hence they get their dream job, make more money and ultimately they live a better life.