
Day 3: Self-contained Service
A self-contained service answers a client request using only its own code and its own local data.

A self-contained service answers a client request using only its own code and its own local data.

Decompose by Subdomain uses Domain-Driven Design (DDD) to split a large business domain into subdomains (Core, Supporting, Generic) and gives each one its own bounded context, its own model, and usually its own service.

Decompose by Business Capability is a way of deciding where to cut a system into microservices.

A practical, real-world engineering guide to Microservices: exploring service types, taxonomy, core principles, and an exhaustive pattern-to-problem-solving matrix in table format.
Client-Side UI Composition splits one large single-page application into several smaller front-end applications ("micro-frontends") that are built, tested, and deployed independently by different teams.
Server-Side Page Fragment Composition means the server (or an edge layer in front of it) builds one HTML page by stitching together HTML fragments that are each owned, built, and deployed by a different service or team.