Event-driven architecture

Microservices are typically built with event-driven architecture. Let's consider a simple example. Whenever a new customer is registered, there are three things that need to be performed:

  • Store customer information to the database
  • Mail a welcome kit
  • Send an email notification

Let's look at two different approaches to design this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset