Business Capabilities
Dev Machine Url : http://localhost:5001
Port:5001
Name | Url |
---|---|
Product Catalog | /products/ |
Events | /events/ |
Name | Description |
---|---|
ProductCreatedEvent | happend when create new product in system |
ProductUpdatedEvent | happend when update product's information |
ProductDeletedEvent | happend when delete product from system |
Product Catalog
Name:
Params:
Result:
EventStore
Name:
Params:
Result:
Product Catalog
Name:
Params:
Result:
EventStore
Name:
Params:
Result:
The purpose of caching:
To eliminate the need, in many cases, to request information the caller already has
To eliminate the need, in many other situations, to send full HTTP responses
Replacing a query to another microservice with a query to the microservice’s own database by creating a
read model
: a data model that can be queried easily and efficiently.Read models are often based on events from other microservices.
Read models can also be built from responses to queries to other microservices