| Buyer Client | Owns client protocol, request identity, retry, and resume behavior. In this design it participates in: Store cart intent with optimistic versioning; merge guest/authenticated carts explicitly. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents the external caller from also owning the contract and failure behavior of Cart API. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Price changes after item added” to the external caller. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Buyer Client boundary before extracting or scaling it. |
| Cart API | Owns authentication, validation, quotas, deadlines, and routing. In this design it participates in: At checkout recompute catalog, promotions, tax, shipping, and produce an expiring quote. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Buyer Client from also owning the contract and failure behavior of Cart Store. | Put protocol, authentication, quotas, and business transitions in one process. Acceptable at low scale, but it couples external traffic risk to domain releases. Here that simpler choice would couple “Two checkouts consume same inventory” to Buyer Client. | Costs another hop, policy distribution, and a high-blast-radius fleet. Introduce it when many clients or services need one protocol and protection boundary. Measure the latency, saturation, lag, or mismatch at the Cart API boundary before extracting or scaling it. |
| Cart Store | Owns authoritative versioned state or immutable evidence. In this design it participates in: Reserve inventory per SKU with idempotent tokens and start the checkout saga. | Defines the source of truth and commit boundary. It prevents Cart API from also owning the contract and failure behavior of Catalog Service. | Let each service persist its own interpretation. That removes one clear commit boundary and makes retries, support, and reconciliation ambiguous. Here that simpler choice would couple “Payment succeeds but order write times out” to Cart API. | Costs schema migration, replication, backup, and shard ownership. Split storage only when access patterns, retention, or compliance boundaries materially differ. Measure the latency, saturation, lag, or mismatch at the Cart Store boundary before extracting or scaling it. |
| Catalog Service | Preserves durable ordering, replay, and consumer checkpoints. In this design it participates in: Confirm payment and create order; compensate stock/payment on terminal failure. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Cart Store from also owning the contract and failure behavior of Pricing Engine. | Call every downstream consumer synchronously. That couples user latency and availability to analytics, notification, indexing, and audit dependencies. Here that simpler choice would couple “Coupon budget races across carts” to Cart Store. | Costs eventual consistency, schema evolution, replay tooling, idempotent consumers, and lag operations. Earn it when bursts or downstream failure must not block acknowledgment. Measure the latency, saturation, lag, or mismatch at the Catalog Service boundary before extracting or scaling it. |
| Pricing Engine | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: Publish order events through an outbox for fulfillment, email, and analytics. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Catalog Service from also owning the contract and failure behavior of Promotion Engine. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Reservation expires during payment challenge” to Catalog Service. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Pricing Engine boundary before extracting or scaling it. |
| Promotion Engine | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: Store cart intent with optimistic versioning; merge guest/authenticated carts explicitly. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Pricing Engine from also owning the contract and failure behavior of Tax / Shipping. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Price changes after item added” to Pricing Engine. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Promotion Engine boundary before extracting or scaling it. |
| Tax / Shipping | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: At checkout recompute catalog, promotions, tax, shipping, and produce an expiring quote. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Promotion Engine from also owning the contract and failure behavior of Inventory Service. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Two checkouts consume same inventory” to Promotion Engine. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Tax / Shipping boundary before extracting or scaling it. |
| Inventory Service | Owns authoritative versioned state or immutable evidence. In this design it participates in: Reserve inventory per SKU with idempotent tokens and start the checkout saga. | Defines the source of truth and commit boundary. It prevents Tax / Shipping from also owning the contract and failure behavior of Reservation Store. | Let each service persist its own interpretation. That removes one clear commit boundary and makes retries, support, and reconciliation ambiguous. Here that simpler choice would couple “Payment succeeds but order write times out” to Tax / Shipping. | Costs schema migration, replication, backup, and shard ownership. Split storage only when access patterns, retention, or compliance boundaries materially differ. Measure the latency, saturation, lag, or mismatch at the Inventory Service boundary before extracting or scaling it. |
| Reservation Store | Owns authoritative versioned state or immutable evidence. In this design it participates in: Confirm payment and create order; compensate stock/payment on terminal failure. | Defines the source of truth and commit boundary. It prevents Inventory Service from also owning the contract and failure behavior of Checkout Saga. | Let each service persist its own interpretation. That removes one clear commit boundary and makes retries, support, and reconciliation ambiguous. Here that simpler choice would couple “Coupon budget races across carts” to Inventory Service. | Costs schema migration, replication, backup, and shard ownership. Split storage only when access patterns, retention, or compliance boundaries materially differ. Measure the latency, saturation, lag, or mismatch at the Reservation Store boundary before extracting or scaling it. |
| Checkout Saga | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: Publish order events through an outbox for fulfillment, email, and analytics. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Reservation Store from also owning the contract and failure behavior of Order Service. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Reservation expires during payment challenge” to Reservation Store. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Checkout Saga boundary before extracting or scaling it. |
| Order Service | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: Store cart intent with optimistic versioning; merge guest/authenticated carts explicitly. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Checkout Saga from also owning the contract and failure behavior of Payment Service. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Price changes after item added” to Checkout Saga. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Order Service boundary before extracting or scaling it. |
| Payment Service | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: At checkout recompute catalog, promotions, tax, shipping, and produce an expiring quote. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Order Service from also owning the contract and failure behavior of Outbox Events. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Two checkouts consume same inventory” to Order Service. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Payment Service boundary before extracting or scaling it. |
| Outbox Events | Preserves durable ordering, replay, and consumer checkpoints. In this design it participates in: Reserve inventory per SKU with idempotent tokens and start the checkout saga. | Decouples bursts and failure from user acknowledgment. It prevents Payment Service from also owning the contract and failure behavior of Fulfillment. | Call every downstream consumer synchronously. That couples user latency and availability to analytics, notification, indexing, and audit dependencies. Here that simpler choice would couple “Payment succeeds but order write times out” to Payment Service. | Costs eventual consistency, schema evolution, replay tooling, idempotent consumers, and lag operations. Earn it when bursts or downstream failure must not block acknowledgment. Measure the latency, saturation, lag, or mismatch at the Outbox Events boundary before extracting or scaling it. |
| Fulfillment | Owns one bounded domain decision, transition, or operational capability. In this design it participates in: Confirm payment and create order; compensate stock/payment on terminal failure. | Separates a distinct scale, ownership, policy, or failure boundary. It prevents Outbox Events from also owning the contract and failure behavior of operators and repair tooling. | Keep this behavior inside an adjacent service. Prefer that simpler option until independent scale, ownership, policy, or failure isolation is measurable. Here that simpler choice would couple “Coupon budget races across carts” to Outbox Events. | Costs an interface, deployment, telemetry, ownership, and failure mode. Keep it in-process first; extract when independent scale or reliability pays for the boundary. Measure the latency, saturation, lag, or mismatch at the Fulfillment boundary before extracting or scaling it. |