Vetora logo

Architectural Patterns

Monoliths, microservices, event sourcing, CQRS, and hexagonal architecture.

Concepts

Monolith vs MicroservicesP0

Compare monolithic and microservices architectures, understanding when each approach is appropriate, the trade-offs involved in decomposition, and the organizational implications of choosing one over the other.

Event SourcingP1

Learn how event sourcing persists state as an immutable sequence of domain events rather than mutable rows, enabling complete audit trails, temporal queries, and the ability to reconstruct any past system state.

CQRS (Command Query Responsibility Segregation)P1

Understand CQRS, a pattern that separates read and write models into distinct paths, enabling independent optimization, scaling, and evolution of each side.

Hexagonal Architecture (Ports and Adapters)P1

Explore hexagonal architecture (ports and adapters), a pattern that isolates core business logic from external concerns like databases, APIs, and frameworks, enabling testability and technology flexibility.

Saga PatternP0

Learn how the saga pattern manages distributed transactions across microservices using a sequence of local transactions with compensating actions, avoiding the need for distributed ACID transactions.

Strangler Fig PatternP1

Discover how the strangler fig pattern enables incremental migration from legacy systems to modern architectures by gradually routing traffic from old components to new ones until the legacy system can be safely decommissioned.

Service MeshP1

Understand how a service mesh provides a dedicated infrastructure layer for handling service-to-service communication, including traffic management, observability, and security, without modifying application code.