From the course: Software Architecture: Domain-Driven Design

Unlock the full course today

Join today to access over 24,600 courses taught by industry experts.

Choreographed/reactive systems

Choreographed/reactive systems

- [Instructor] The other way to organize your system of services is by using choreography or reactive systems. In a sense choreography is a solution to the problems that we were just talking about when we were looking at the declarative systems. Now, this is where we start, with our synchronous services that knew about downstreamed things. What happens if we replace those declarative APIs with generic ones? In other words, now instead of the shopping cart service telling the billing, and warehouse, and email services what to do, the shopping cart service just announces to the world a new order has been placed if you're interested in that do something about it. The billing service will be sitting around waiting for that message to be generated. And it says, oh a new order has been placed I better send the bill. And the warehouse service says, oh a new order has been placed I better ship it out. And the email service says…

Contents