Skip to content

Latest commit

 

History

History
99 lines (68 loc) · 1.96 KB

README.md

File metadata and controls

99 lines (68 loc) · 1.96 KB

ECommerce ProductCatalog

Business Capabilities

business capabilzities

Setup

Deploy

Service Information

 Dev Machine Url : http://localhost:5001
 Port:5001

service integration

service information

Endpoints

Name Url
Product Catalog /products/
Events /events/

Event Feed

Name Description
ProductCreatedEvent happend when create new product in system
ProductUpdatedEvent happend when update product's information
ProductDeletedEvent happend when delete product from system

Ownership of data

Central Database Store Procedure

Product Catalog

 Name:
 Params:
 Result:

EventStore

 Name:
 Params:
 Result:

Read-Optimizing Database Store Procedure

Product Catalog

 Name:
 Params:
 Result:

EventStore

 Name:
 Params:
 Result:

Event Store

storing event

Locality of data

Catching

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

caching with http cache

Mirror data

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