nw-architectural-styles-tradeoffs

Featured

Architectural style selection decision matrices, trade-off analysis, structural enforcement rules, and combination patterns. Load when choosing or evaluating architecture styles.

AI & Automation 636 stars 68 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Architectural Styles: Selection and Trade-offs ## Style Selection Decision Tree Start here. Answer the dominant driver, follow to recommended style. ``` Is the domain complex with rich business rules? YES -> Do you need infrastructure independence and high testability? YES -> Hexagonal / Clean / Onion (functionally equivalent, different terminology) NO -> Is the domain well-understood with clear module boundaries? YES -> Modular Monolith (single deployment, structured boundaries) NO -> Layered Architecture (simple, well-known, fast to start) NO -> Is this a feature-heavy application with independent feature teams? YES -> Vertical Slice (per-feature organization, CQRS-friendly) NO -> Do you need independent deployment and scaling per capability? YES -> Can the team handle distributed system operational complexity? YES -> Microservices NO -> Modular Monolith (extract to services later) NO -> Is the primary concern async workflows or event-driven processing? YES -> Event-Driven Architecture NO -> Is this a data processing pipeline? YES -> Pipe and Filter NO -> Layered Architecture (sensible default) ``` ## Cross-Cutting Comparison Matrix | Style | Dep. Direction | Organization | Deployment | Best For | Team Size | |-------|---------------|-------------|------------|----------|-----------| | Hexagonal/Clean/Onion | Inward (DIP) | Ports + adapters | Single process | Infras...

Details

Author
nWave-ai
Repository
nWave-ai/nWave
Created
9 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category