Enterprise Patterns

Glossary

Every Enterprise Patterns term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.

Enterprise Patterns · 91 terms

A

Adapter
In ports and adapters, code that connects a port to a particular technology: a web controller, a PostgreSQL repository, an SMS client.
Learn it in “Layers, hexagons and clean architecture” →
Aggregate
A cluster of entities and value objects that must stay consistent together, loaded and saved as one unit, with a single root that outside code talks to.
Learn it in “Entities, value objects and aggregates” →
Aggregate root
The one entity in an aggregate that outside code may hold a reference to; it enforces the aggregate's rules.
Learn it in “Entities, value objects and aggregates” →
Aggregator
An integration step that collects related messages until a set is complete, then publishes one combined message.
Learn it in “Routing and transformation” →
Anticorruption layer
A translating layer a downstream context builds around an upstream system, so it can use that system's functions in its own terms without the other model leaking in.
Learn it in “Context maps” →
API-led connectivity
MuleSoft's method of organising APIs in three layers: system APIs that unlock systems of record, process APIs that combine them, and experience APIs for each channel.
Learn it in “From ESB to API-led integration” →
Architecture decision record (ADR)
A short document, kept with the code, recording one significant architectural decision: its context, the decision, its status and its consequences. Michael Nygard proposed the format in 2011.
Learn it in “Architecture decisions and fitness functions” →
Autonomous bubble
A bubble context with its own data store, kept in step with legacy by a synchronising anticorruption layer, so it can keep running for a while when legacy is unavailable.
Learn it in “Living with legacy” →

B

Big Ball of Mud
Foote and Yoder's 1997 name for a system with no clear structure, grown by years of quick fixes, where everything depends on everything else.
Learn it in “What makes enterprise systems hard” →
Bounded context
A boundary, usually a subsystem or one team's work, inside which a single model and its language apply consistently. Different contexts can model the same thing, such as a customer, differently.
Think of it as: "Meter" means one thing to the billing office and another to the engineer who fits it.
Learn it in “Bounded contexts” →
Branch by abstraction
Making a large change gradually inside a codebase: put an abstraction in front of the old component, build the new one behind it, switch over, then remove the old one, releasing all along.
Learn it in “The strangler fig” →
Bubble context
Eric Evans's term for a small, clean bounded context created for one piece of new work, getting all its data from a legacy system through an anticorruption layer.
Learn it in “Living with legacy” →
Business capability map
A picture of what a business does to generate value (sales, claims, payments), independent of how it's done or which systems do it.
Learn it in “Enterprise architecture and governance” →

C

C4 model
Simon Brown's way of drawing software architecture at four zoom levels: system context, containers (running applications and data stores), components and code.
Learn it in “Enterprise architecture and governance” →
Canonical data model
A common message format independent of any one application; each application translates only to and from it, instead of to every other format.
Learn it in “Routing and transformation” →
Choreography
Running a business process without a central coordinator: each system publishes events and reacts to other systems' events.
Think of it as: Dancers responding to each other with no conductor.
Learn it in “Orchestration and choreography” →
Cognitive load
How much a team has to keep in its head: tools, domains and responsibilities. Overloaded teams slow down and make poor decisions.
Learn it in “Conway's law and team topologies” →
Command-query separation (CQS)
Bertrand Meyer's principle that a method should either change state (a command) or return information (a query), never both.
Learn it in “CQRS and event sourcing” →
Compensating event
A new event that reverses or corrects an earlier one, since events in an event store are never edited or deleted.
Think of it as: A reversal line in a bank passbook.
Learn it in “CQRS and event sourcing” →
Competing consumers
Several receivers reading from one point-to-point channel, so messages are shared out between them and processed in parallel.
Learn it in “Messaging building blocks” →
Content enricher
An integration step that adds missing data to a message by looking it up elsewhere, such as a customer's delivery slot from CRM.
Learn it in “Routing and transformation” →
Content-based router
An integration step that reads each message and sends it to a different destination depending on what it contains.
Learn it in “Routing and transformation” →
Context map
A picture of all the bounded contexts in a system and how each pair relates: who depends on whom, and how models are shared or translated between them.
Learn it in “Context maps” →
Conway's law
Melvin Conway's 1968 observation that organisations design systems which copy their own communication structures: the parts of a system tend to match the teams that build them.
Learn it in “Conway's law and team topologies” →
Core domain
The part of the business that makes it valuable and different, where the best people and most design effort should go.
Learn it in “Bounded contexts” →
Correlation ID
In messaging, an identifier in a reply that matches the ID of the request it answers, so the sender knows which request the reply belongs to.
Learn it in “Messaging building blocks” →
Coupling
How much one system depends on another: tightly coupled systems break or must change together; loosely coupled ones can change independently.
Learn it in “Four ways to integrate” →

D

Data mesh
Zhamak Dehghani's approach to analytical data: domain teams own and publish data products, on a self-serve platform, under federated governance.
Learn it in “Who owns the data?” →
Data product
In data mesh, a dataset published by a domain team for others to use, with an owner, documentation and quality guarantees.
Learn it in “Who owns the data?” →
Database per service
Keeping each service's data private to it, reachable by others only through its API or events. Private tables or a schema can be enough; it needn't be a separate server.
Learn it in “Who owns the data?” →
Dependency Rule
Robert C. Martin's rule for clean architecture: source code dependencies can only point inwards, so business rules never depend on frameworks, databases or user interfaces.
Learn it in “Layers, hexagons and clean architecture” →
Domain
The subject area a piece of software serves, such as insurance claims or parcel delivery. Evans: "a sphere of knowledge, influence, or activity".
Learn it in “A shared language” →
Domain event
A record of something that happened that domain experts care about, named in the past tense ("Order placed") and never changed afterwards.
Learn it in “Entities, value objects and aggregates” →
Domain expert
Someone who knows a business area deeply, such as an underwriter, a nurse or a dispatcher, and helps the team understand and name things correctly.
Learn it in “A shared language” →
Domain-driven design (DDD)
An approach to software, from Eric Evans's 2003 book, that models the code closely on the business: a language shared with domain experts, explicit boundaries between models, and focus on the core domain.
Learn it in “A shared language” →

E

Enterprise architecture
The practice of understanding and guiding all of an organisation's systems together: what exists, what overlaps, and where to invest, so they support the business as it changes.
Think of it as: A city planner, who keeps maps and builds roads rather than designing every house.
Learn it in “Enterprise architecture and governance” →
Enterprise Integration Patterns
Gregor Hohpe and Bobby Woolf's 2003 book cataloguing 65 patterns for connecting systems, mostly through messaging. Its names are still the standard vocabulary for integration.
Learn it in “Four ways to integrate” →
Enterprise service bus (ESB)
A central integration product, popular in the 2000s, that connects many systems and handles routing, transformation and often business rules for all of them.
Learn it in “From ESB to API-led integration” →
Entity
An object defined by a lasting identity rather than its attributes: a customer stays the same customer even if their name, address and phone all change.
Learn it in “Entities, value objects and aggregates” →
Event mesh
A network of interconnected event brokers that lets events flow between applications wherever they run: data centres, clouds or the edge.
Learn it in “From ESB to API-led integration” →
Event store
An append-only database of events, used as the system of record in event sourcing. Current state is derived by replaying the events.
Learn it in “CQRS and event sourcing” →
EventStorming
Alberto Brandolini's workshop format for exploring a business domain: developers and domain experts write past-tense events on sticky notes along a timeline, then add their causes, problems and boundaries.
Learn it in “Event storming” →

F

Façade (routing)
A proxy in front of a system that intercepts every request and sends it to either the old or the new implementation, so users don't notice a migration.
Learn it in “The strangler fig” →
Fitness function
An automated, objective check that a system still has an architectural characteristic you care about, such as no forbidden dependencies or a page under a time budget, run on every build.
Learn it in “Architecture decisions and fitness functions” →

G

Generic subdomain
A part of the business every organisation needs, such as accounting or sending email, best bought or used as a service rather than built.
Learn it in “Bounded contexts” →
Golden record
The single best version of a core entity, such as a customer, assembled from all the systems that hold it according to agreed rules.
Learn it in “Who owns the data?” →

H

Hot spot
In EventStorming, a sticky note marking a question, disagreement or problem on the wall, to come back to later.
Learn it in “Event storming” →

I

Idempotent receiver
A receiver that can safely process the same message more than once, for example by remembering message IDs it has already handled.
Learn it in “Messaging building blocks” →
Independent deployability
Being able to change and release one service without changing or coordinating releases of any other. The defining property of microservices.
Learn it in “Modular monoliths and microservices” →
Integration database (shared database)
One database used as the data store by several applications, which read and write each other's tables directly. Simple at first, but it couples every application to the shared schema.
Think of it as: One spreadsheet every department edits.
Learn it in “Who owns the data?” →
Integration style
One of four basic ways for systems to share data or behaviour: file transfer, shared database, remote procedure invocation (calls) or messaging.
Learn it in “Four ways to integrate” →
Invariant
A business rule that must always be true, such as "an order's total never exceeds the customer's limit".
Learn it in “Entities, value objects and aggregates” →
Inverse Conway manoeuvre
Deliberately shaping teams and how they communicate in order to get the software architecture you want.
Learn it in “Conway's law and team topologies” →
iPaaS
Integration platform as a service: a cloud service for building, running and governing integration flows between cloud and on-premises applications and data.
Learn it in “From ESB to API-led integration” →

L

Legacy system
An older system that is still essential to the business but hard to change, often because of outdated technology, missing documentation or scarce skills.
Learn it in “What makes enterprise systems hard” →

M

Mainframe
A large, highly reliable computer designed for very high volumes of transactions, still the core platform of many banks, insurers and governments, often running decades-old COBOL programs.
Learn it in “Living with legacy” →
Master data management (MDM)
A discipline, with supporting tools, for keeping an organisation's core shared entities (customers, products, suppliers) consistent and accurate across all its systems.
Learn it in “Who owns the data?” →
Message channel
A named pipe in a messaging system: one application writes messages to it and another reads them, without the two connecting directly.
Think of it as: A pigeonhole in a post room.
Learn it in “Messaging building blocks” →
Message translator
An integration step that converts a message from one data format into another.
Learn it in “Routing and transformation” →
Messaging
Systems exchanging small packets of data (messages) through a messaging system that stores and delivers them, so sender and receiver needn't be available at the same time.
Think of it as: Dropping a note in someone's letterbox rather than phoning them.
Learn it in “Four ways to integrate” →
Microservice premium
Martin Fowler's term for the extra cost of running microservices (networks, partial failures, monitoring, automation), worth paying only for sufficiently complex systems.
Learn it in “Modular monoliths and microservices” →
Microservices
An architecture of small services, each running in its own process, built around a business capability and deployable independently of the others.
Learn it in “Modular monoliths and microservices” →
Modular monolith
A single deployable application divided into modules with enforced boundaries, often one per bounded context, so it keeps clear structure without the costs of distribution.
Think of it as: One house with locked rooms.
Learn it in “Modular monoliths and microservices” →
Monolith
An application built and deployed as a single unit, however many features it contains.
Learn it in “Modular monoliths and microservices” →

N

Normalizer
An integration step that recognises messages arriving in different formats and translates each into one common format.
Learn it in “Routing and transformation” →

O

Open-host service
An upstream context offering one documented protocol that every consumer can use, instead of a custom integration for each.
Learn it in “Context maps” →
Optimistic concurrency
Letting several people edit without locks, then rejecting a save if the data changed since it was read, usually by checking a version number.
Learn it in “Entities, value objects and aggregates” →
Orchestration (of a process)
Running a business process with a central coordinator that tells each system what to do next and keeps track of where every case has got to.
Think of it as: A conductor cueing each section of an orchestra.
Learn it in “Orchestration and choreography” →

P

Pace layers
Gartner's 2012 way of sorting applications by how fast they should change: systems of record (slow), systems of differentiation (medium) and systems of innovation (fast).
Learn it in “What makes enterprise systems hard” →
Parallel run
Running the old and new implementations side by side on real requests, using the old result while recording any differences, until the new one can be trusted.
Learn it in “The strangler fig” →
Paved road (golden path)
A supported, recommended set of tools and practices that is made easier to use than the alternatives, so teams choose it without being forced to.
Learn it in “Enterprise architecture and governance” →
Point-to-point channel
A channel (usually a queue) where each message is received by exactly one receiver, even if several are listening.
Learn it in “Messaging building blocks” →
Point-to-point integration
Connecting systems directly to each other, one link per pair. Simple for a few systems; n systems can need up to n(n−1)/2 links, each of which can break when either end changes.
Learn it in “What makes enterprise systems hard” →
Policy (EventStorming)
An automatic reaction written as "whenever this happens, do that": an event triggers a command somewhere else.
Learn it in “Event storming” →
Port
In ports and adapters, an interface owned by the application core that describes something it needs or offers, such as "load a policy" or "notify a customer".
Learn it in “Layers, hexagons and clean architecture” →
Ports and adapters (hexagonal architecture)
Alistair Cockburn's 2005 pattern: put the application's business logic in the middle, define ports (interfaces) for everything it talks to, and plug technology-specific adapters into them.
Think of it as: A laptop with one port and a travel adapter for each country.
Learn it in “Layers, hexagons and clean architecture” →
Process manager
Hohpe and Woolf's name for a central component that keeps the state of a multi-step process and decides the next step from intermediate results.
Learn it in “Orchestration and choreography” →
Projection
Code that reads a stream of events and keeps a read model up to date, such as a table of current balances.
Learn it in “CQRS and event sourcing” →
Published language
A well-documented shared format for exchanging domain information between contexts, often an industry data standard.
Learn it in “Context maps” →

R

Repository
In DDD, an object that loads and saves whole aggregates, giving code the feel of an in-memory collection.
Learn it in “Entities, value objects and aggregates” →

S

Splitter
An integration step that breaks a message containing several items into one message per item.
Learn it in “Routing and transformation” →
Strangler fig
Replacing a legacy system gradually: put a façade in front of it, move functionality to a new system piece by piece, and switch the old one off when nothing uses it.
Think of it as: A fig vine that grows around its host tree until it stands on its own.
Learn it in “The strangler fig” →
Stream-aligned team
A team aligned to a flow of work from one part of the business, owning it end to end: building, running and changing it.
Learn it in “Conway's law and team topologies” →
Supporting subdomain
A part specific to the business but not where it competes; build it simply or outsource it. The term comes from Vaughn Vernon's three-way split.
Learn it in “Bounded contexts” →
System of record
The system that holds the official, authoritative version of a piece of data, such as a customer's address. Other systems keep copies and must be updated from it.
Learn it in “What makes enterprise systems hard” →

T

Team Topologies
Skelton and Pais's model for organising technology teams: four team types (stream-aligned, platform, enabling, complicated-subsystem) and three interaction modes (collaboration, X-as-a-Service, facilitating).
Learn it in “Conway's law and team topologies” →
Technology radar
A chart placing technologies in rings (Thoughtworks uses Adopt, Trial, Assess and Caution) to guide teams on what's proven, being tried, worth exploring or best avoided.
Learn it in “Enterprise architecture and governance” →

U

Ubiquitous language
A vocabulary agreed between developers and domain experts and used everywhere within one bounded context: in conversation, documents and the code itself.
Learn it in “A shared language” →
Upstream and downstream
A relationship where one team's changes (upstream) affect another (downstream), but not the other way round.
Think of it as: Cities on a river: what the upstream city puts in, the downstream city drinks.
Learn it in “Context maps” →

V

Value object
An object described only by its attributes, such as an amount of money or a date range. Two with the same attributes are interchangeable; treat them as immutable.
Think of it as: Any ₹500 note is as good as another.
Learn it in “Entities, value objects and aggregates” →

W

Workflow engine
Software that runs long-running processes reliably, storing their state and handling retries, timers and recovery. Examples: Temporal, Camunda, AWS Step Functions.
Learn it in “Orchestration and choreography” →

General terms · shared by every track

A

ACID
Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
Learn it in “ACID on object storage” →
Atomic
All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
Learn it in “Object storage: the ground floor” →

B

Batch processing
Processing data in scheduled chunks, such as every night or every hour.
Learn it in “Getting data in” →

C

CSV
Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
Learn it in “Rows vs columns: file formats” →

I

Idempotent
Safe to run twice: running the job again gives the same result instead of duplicating data.
Learn it in “Medallion architecture” →

J

JSON
A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
Learn it in “Rows vs columns: file formats” →

M

Metadata
Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
Learn it in “What makes a table a table” →

S

Schema
The structure of a table: its column names and types, such as order_id: long, amount: decimal.
Learn it in “Schema evolution & enforcement” →
SQL
The standard language for querying tables: SELECT … FROM … WHERE …
Learn it in “Hands-on: query in your browser” →
Streaming
Processing data continuously as it arrives, within seconds or minutes.
Learn it in “Getting data in” →

T

Transaction
A group of changes that succeeds or fails as one unit.
Think of it as: A money transfer: debit one account and credit the other, or do neither.
Learn it in “ACID on object storage” →