liveBook · Manning

Bounded context

As explained in Architecture Modernization: Socio-technical alignment of software, strategy, and structure

A bounded context is a boundary, typically corresponding to a subsystem or team, within which a particular domain model is defined and applicable.

A bounded context establishes the boundary within which a domain model applies, typically aligning a subsystem’s responsibilities with a business capability and the team shaping it. Precise boundaries reduce unrelated behavior being combined and help teams evolve software independently. section 12.3.1 section 12.5

Figure 12.16 The bounded context canvas

Use the bounded context canvas to make a subsystem’s purpose, responsibilities, business role, and strategic classification visible for collaborative design review. section 12.3.1

A useful bounded context analysis asks:

  • What precise name identifies the subsystem, and would a broader name attract unrelated responsibilities? section 12.3.1
  • What business purpose and responsibilities does the context contain, and do stakeholders describe them consistently? section 12.3.1
  • How does the context support business strategy through its classification, business-model role, and expected evolution? section 12.3.1

Country-specific onboarding on a gigs platform

A platform whose teams owned different domain areas still suffered from shared software coupling. EventStorming helped separate German and Dutch company and contact rules into a new bounded context. The German model was first implemented as a decoupled codebase, while modernization initially retained a shared database; later, domain events and an anti-corruption layer synchronized the legacy model as the new context became autonomous. section 12.5

How Architecture Modernization: Socio-technical alignment of software, strategy, and structure covers it

How deep it goes
Explains boundary design through a canvas and migration example, but stops short of detailed implementation mechanics.
Examples
Uses a discounts subsystem canvas and country-specific onboarding models for Germany and the Netherlands on a gigs platform.
What you can do after
Apply it via a bounded context canvas and EventStorming to identify responsibilities, boundaries, and incremental decoupling steps.
How it connects
Connects bounded contexts with domain-driven design, EventStorming, subsystems, domain events, anti-corruption layers, and legacy modernization.

Also explained in

Compare how 2 books explain bounded context →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Architecture Modernization: Socio-technical alignment of software, strategy, and structure. The section links point to the parts of the book it draws on.