The event-driven pattern

The microservice architecture has the database per service pattern, which means it has an independent database for every dependent or independent service:

  • Dependent service: Our application would require a few external services (third- party services or components and so on) and/or internal services (these are our own services) to work or function as expected. For instance, Checkoutservice requires Customer service; also, Checkout service requires an external (third-party) service to verify a customer's identity (such as Aadhar card ID in the case of Indian customers). Here our Checkoutservice service is a dependent service, as it requires two (internal service and external service) services to function as expected. ...

Get Building Microservices with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.