This is a demo catalog. Create one for your own architecture with a single prompt.

Get started →

Data ownership

The source-of-truth data stores in the default catalog and the rules for reading and writing business state.

Data

Every durable business concept has an owning system and a source-of-truth store. Other systems should depend on published contracts instead of reaching into another system’s data store.

Source-of-truth stores

Data storeOwnerBusiness data
Product DatabaseContainerv1.0.0Product DatabasePostgreSQL database that is the system of record for all product data.Ownerproduct-platformDiagramOpen docsProduct Catalog SystemSystemv1.0.0Product Catalog SystemInternal system that is the source of truth for product data. Owns the product database and publishes product change eve...Ownerproduct-platformDiagramOpen docsProducts, product attributes and catalog change outbox.
Search IndexContainerv1.0.0Search IndexThe denormalised, search-optimised index of products that powers product search.Ownersearch-platformDiagramOpen docsSearch SystemSystemv1.0.0Search SystemInternal system that keeps product data searchable. Consumes product change events from the Product Catalog System, main...Ownersearch-platformDiagramOpen docsSearch-optimised product documents.
Cart DatabaseContainerv1.0.0Cart DatabasePostgreSQL database that is the system of record for shopping carts and their items.Ownershopping-platformDiagramOpen docsCart SystemSystemv1.0.0Cart SystemInternal system that owns the customer's shopping cart and the checkout flow. It is the source of truth for cart content...Ownershopping-platformDiagramOpen docsActive shopping carts and checkout state.
Promotion DatabaseContainerv1.0.0Promotion DatabasePostgreSQL store of promotion and discount rules.Ownershopping-platformDiagramOpen docsPromotion SystemSystemv1.0.0Promotion SystemInternal system that calculates the discounts and promotions that apply to a cart. It owns promotion rules and returns c...Ownershopping-platformDiagramOpen docsPromotion rules and discount configuration.
Order DatabaseContainerv1.0.0Order DatabasePostgreSQL database that is the system of record for orders and their items.Ownerordering-platformDiagramOpen docsOrder Management SystemSystemv1.0.0Order Management SystemInternal system that is the source of truth for orders. It creates orders, tracks their lifecycle, and publishes events ...Ownerordering-platformDiagramOpen docsOrders and order lifecycle state.
Payment DatabaseContainerv1.0.0Payment DatabasePostgreSQL database that is the system of record for payments and refunds.Ownerpayments-platformDiagramOpen docsPayment Processing SystemSystemv1.0.0Payment Processing SystemInternal system that orchestrates payment for orders. It authorizes payments, requests charges from the external payment...Ownerpayments-platformDiagramOpen docsPayment intents, charge outcomes and refunds.
Inventory DatabaseContainerv1.0.0Inventory DatabasePostgreSQL database that is the system of record for stock levels and reservations.Ownerfulfilment-platformDiagramOpen docsInventory SystemSystemv1.0.0Inventory SystemInternal system that tracks stock and reserves it for orders. It is the source of truth for available inventory and conf...Ownerfulfilment-platformDiagramOpen docsStock levels and reservations.
Warehouse DatabaseContainerv1.0.0Warehouse DatabasePostgreSQL database that stores picking jobs and their status.Ownerfulfilment-platformDiagramOpen docsWarehouse SystemSystemv1.0.0Warehouse SystemInternal system that picks and packs orders in the warehouse. It reacts to completed orders, organises picking, and sign...Ownerfulfilment-platformDiagramOpen docsPicking and packing work.
Customer DatabaseContainerv1.0.0Customer DatabasePostgreSQL database that is the system of record for all customer profile data.Ownercustomer-platformDiagramOpen docsCustomer Management SystemSystemv1.0.0Customer Management SystemInternal system that is the source of truth for customer profile data. Owns the customer database and publishes customer...Ownercustomer-platformDiagramOpen docsCustomer profiles.
Review DatabaseContainerv1.0.0Review DatabasePostgreSQL database that is the system of record for reviews and their moderation state.Ownerreviews-platformDiagramOpen docsReviews & RatingsDomainv1.0.0Reviews & RatingsThe Reviews & Ratings domain owns customer feedback on products — how reviews are submitted, moderated, published and ag...Ownerreviews-platformDiagramOpen docsReviews and moderation state.
Rating CacheContainerv1.0.0Rating CacheRedis cache that serves each product's aggregate star rating with low latency.Ownerreviews-platformDiagramOpen docsReviews & RatingsDomainv1.0.0Reviews & RatingsThe Reviews & Ratings domain owns customer feedback on products — how reviews are submitted, moderated, published and ag...Ownerreviews-platformDiagramOpen docsProduct rating read model.

Read model pattern

Search SystemSystemv1.0.0Search SystemInternal system that keeps product data searchable. Consumes product change events from the Product Catalog System, main...Ownersearch-platformDiagramOpen docs and Rating CacheContainerv1.0.0Rating CacheRedis cache that serves each product's aggregate star rating with low latency.Ownerreviews-platformDiagramOpen docs are read models. They do not own the original facts. They rebuild their state from events such as Product CreatedEventv1.0.0Product CreatedPublished when a new product has been added to the catalog. Ownerproduct-platformSchemaDiagramOpen docs, Product UpdatedEventv1.0.0Product UpdatedPublished when an existing product's data has changed. Ownerproduct-platformSchemaDiagramOpen docs, Review PublishedEventv1.0.0Review PublishedPublished when a submitted review passes moderation and becomes visible on the storefront. Ownerreviews-platformSchemaDiagramOpen docs and Rating UpdatedEventv1.0.0Rating UpdatedPublished when a product's aggregate rating changes as a result of a newly published review. Ownerreviews-platformSchemaDiagramOpen docs.

Write rule

Only the owning system writes its source-of-truth store. Cross-system updates should be commands or events. For example, checkout asks fulfilment to reserve stock with Reserve InventoryCommandv1.0.0Reserve InventoryCommand to reserve stock for the items in a checked-out cart. Ownerordering-platformSchemaDiagramOpen docs rather than writing Inventory DatabaseContainerv1.0.0Inventory DatabasePostgreSQL database that is the system of record for stock levels and reservations.Ownerfulfilment-platformDiagramOpen docs directly.

Consistency rule

User-facing flows should make the consistency model explicit. Checkout needs coordinated confirmation across inventory, payment and order creation, so it uses the Checkout SagaFlowv1.0.0Checkout SagaHow the Checkout Orchestrator turns a checked-out cart into an order — reserving inventory, authorizing payment and crea...Ownerordering-platformView flowOpen docs. Search indexing can lag product writes, so it uses asynchronous product events.