Chapter 4. Constraints Alignment
Architectural constraints provide development teams with guidelines as to what is and isn’t allowed within the architecture. Constraints usually come from architectural decisions, such as “all communication between services will use request/reply messaging” or “the user interface cannot access the database directly.” Constraints are typically documented through Architecture Decision Records (ADRs), which record the context, justifications, and consequences of a decision.1 While ADRs are a great way to document architecture decisions, they can’t enforce them. Architectural decisions have always been a challenge for architects to enforce and govern—until now.
How Constraints Are Formed
Architects make architectural decisions based on specific business requirements, which form constraints in the architecture that generally support important architectural characteristics. If development teams don’t implement those architectural constraints properly, the architecture ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access