Architectural Patterns and Anti-Patterns Questions

Architecture-level patterns and the anti-patterns that signal a wrong turn. Patterns: layered and n-tier architecture, including where cross-cutting concerns like authentication, rate-limiting and tracing belong, dependency injection trade-offs, and thin-versus-fat controller design; hexagonal (ports and adapters) and clean architecture; CQRS and event sourcing; backend-for-frontend; plugin (microkernel) extension models; and the coupling, cohesion, encapsulation and separation-of-concerns principles behind them, including when each applies and what it costs. Anti-patterns: distributed monolith, chatty services, shared-database coupling, cyclic service dependencies, leaky abstractions that expose internal schemas, and golden-hammer pattern adoption. Covers the detection signals (deploy coupling, call-graph fan-out, change amplification, trace evidence), incremental remediation, and architecture governance that keeps smells from recurring. This is about diagnosing and fixing the smell in an existing design, not the monolith-versus-microservices decision itself.

HardTechnical
69 practiced

A team proposes an event-sourced architecture for a business-critical domain (for example, bookings or orders). Evaluate it: describe the main components (event store, projections, snapshots) and the operational challenges (replay cost, migration, storage growth). As the engineering manager, what organizational prerequisites (testing strategy, developer tooling, team readiness) would you require before approving this architecture?

HardTechnical
97 practiced

Your organization's microservice landscape has become chatty and tightly coupled: excessive cross-service calls, a few cyclic dependencies, and some services with very high coupling to others. As the engineering manager, produce a prioritized multi-phase refactor plan, quick wins plus risk-managed bigger changes, the metrics you'd track for stability and delivery velocity, and how you'd communicate and land the plan with your teams without stalling product delivery.

HardTechnical
76 practiced

Design an architectural governance process to detect and prevent anti-patterns (like distributed monoliths, chatty services, or shared databases) before they take hold at scale. What review checkpoints, health metrics, and enforcement mechanisms would keep this from becoming a bottleneck for teams?

That is every published Architectural Patterns and Anti-Patterns question for Engineering Manager so far. Browse the other topics in this category, or practice this one interactively.