liveBook · Manning

Generic subdomain

As explained in Microservices Patterns, Second Edition

A generic subdomain contains business logic that is common across businesses and does not require organization-specific customization.

A generic subdomain contains business logic common across businesses and does not require organization-specific customization. In microservice design, subdomains with differing characteristics may be separated into services; resource requirements are one reason to do so. section 7.4.5

Resource-driven service split

Order Management needs ten instances, while GPU-using Fraud Detection needs five. Packaging both in one service means scaling them together and underusing some Fraud Detection capacity; separate services allow independent scaling. 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

Compare the over-provisioning risk of shared service instances with the independent scaling enabled by separate services. section 7.4.5

How Microservices Patterns, Second Edition covers it

How deep it goes
Defines generic subdomains briefly and develops resource-driven service separation; other subdomain characteristics are listed but not developed here.
Examples
Illustrates resource differences with Order Management and GPU-based Fraud Detection requiring different instance counts.
What you can do after
Evaluate whether separating subdomains into services can improve independent scaling and resource utilization.
How it connects
Connects generic subdomains to domain-driven design, microservices, and the core and supporting subdomain categories.

Also explained in

Compare how 2 books explain generic 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.