Books · October 2026
Software Architecture Patterns, Antipatterns, and Pitfalls
Understanding Trade-Offs
Cloud-native development, real-time applications, and AI-enabled services all raise the stakes on choosing the right architecture pattern. This book catalogs the patterns that matter most in modern systems, and just as importantly, the antipatterns and pitfalls that undermine them.
We distinguish two kinds of trouble. An antipattern looks like a good idea at first and only reveals its costs later. A pitfall is a bad idea from the start. Knowing both is how architects learn from other people's hard-won experience instead of their own.
Every entry includes metadata (context, plus the architectural capabilities it improves and degrades) and a star rating across characteristics such as scalability, resilience, and maintainability, so you can compare options on the trade-offs that matter for your system.
What you'll learn
- The core principles, strengths, and limitations of key architecture patterns, and the antipatterns to avoid
- How to select and apply patterns based on business and technical requirements
- How to analyze trade-offs and their effect on architectural capabilities
- How to use metrics and fitness functions to modernize architecture governance
- How to build your own pattern analysis for patterns not covered in the book
Table of Contents
- Introduction: Fundamental Patterns and Antipatterns…with Some Pitfalls
- Capability and Context Cross-Reference
- Ambulance Pattern
- Architecture by Implication Antipattern
- Architecture Sinkhole Antipattern
- Async Chain of Persistence Pattern
- Backend for Frontend Pattern
- Cache Aside Pattern
- Choreography Pattern
- Command Query Responsibility Segregation (CQRS) Pattern
- Compensating Updates Pattern
- Contextual Events Pattern
- Cross-Cutting State Pattern
- Data-Based Event Contract Pattern
- Domain-Broker Pattern
- Event Sourcing Pattern
- Explicit Workflow State Pattern
- Extensible Events Pattern
- Front Controller Pattern
- Frozen Caveman Pitfall
- Grains of Sand Pitfall
- Implicit Workflow State Pattern
- Key-Based Event Contract Pattern
- Microservice All the Things Pitfall
- Multi-Broker Pattern
- Nexus Architecture Pattern
- Orchestration Pattern
- Overcentralization Antipattern
- Read-Through/Write-Through Cache Pattern
- Service Sharding Pattern
- Stamp Coupling Antipattern
- Stovepipe Architecture Antipattern
- Supervisor Consumer Pattern
- Thread Delegate Pattern
- Workflow Event Pattern
- Build Your Own Pattern Analysis
- Fundamental Definitions