liveBook · Manning

Core subdomain

As explained in Microservices Patterns, Second Edition

A core subdomain contains business logic that is unique to an organization and provides competitive advantage.

A core subdomain contains business logic unique to an organization and provides competitive advantage. Separating subdomains into services can help when their characteristics, such as resource needs, differ enough to make shared scaling wasteful. section 7.4.5

Order management and fraud detection

Order Management needs normal resources and ten instances, while GPU-heavy Fraud Detection needs five. Packaging both in one service leaves half of the fraud-detection capacity underused; separate services can scale independently. section 7.4.5

Figure 7.7 Subdomains within the same service are scaled together, which can require over-provisioning of some resources. Putting them in separate services enables them to be scaled independently which improves resource utilization and reduces cost.
segregate by resources

Shows how separate services avoid scaling subdomains with different resource needs together. section 7.4.5

How Microservices Patterns, Second Edition covers it

How deep it goes
Defines core subdomains as competitively distinctive business logic, then details resource-driven separation without elaborating core-specific design.
Examples
Contrasts normal-resource Order Management with GPU-heavy Fraud Detection, using ten versus five instances to illustrate over-provisioning.
What you can do after
Evaluate whether separating subdomains with different resource requirements enables independent scaling and avoids over-provisioning.
How it connects
Connects core subdomains to domain-driven design and microservice service decomposition, alongside supporting and generic subdomains.

Also explained in

Compare how 2 books explain core subdomain →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.