Domain-driven design (DDD) models a business as software by organizing its concepts, entities, terms, and logic into consistent, self-contained bounded contexts. section 1.14.3
For microservices, each bounded context provides a practical boundary for deciding what belongs in a service and how domain concepts relate across services. section 1.14.3 section 1.16
Apply the technique by:
- Modeling the business domain and identifying concepts that belong together. section 1.14.3
- Drawing bounded contexts around terms, entities, and logic that remain consistent within each boundary. section 1.14.3
- Using those contexts to determine what each microservice should contain. section 1.14.3
- Revisiting the architecture and conversion plan as understanding changes, while involving the wider team and business. section 12.6.2
Video-streaming domain
A video-streaming system can place User, Like, and Video within microservices. Video may connect recommendation and video-storage services while retaining slightly different meanings in each context. section 1.14.3
Use the bounded-context diagram to see how domain boundaries can align with microservice boundaries. section 1.14.3






