Skip to main content
SDMastery

Architecture Patterns

13 topics in architecture patterns.

advanced

CQRS

CQRS separates read and write models so each can be optimized independently — write to a normalized database, read from a denormalized projection.

11 min read
beginner

Client-Server Architecture

Client-server is the most fundamental architectural pattern. Understanding it is the starting point for all system design discussions.

6 min read
advanced

Event Sourcing

Event Sourcing stores every state change as an immutable event. The current state is derived by replaying events, providing a complete audit trail and.

11 min read
intermediate

BFF Pattern

Backend for Frontend (BFF) creates dedicated backend services for each frontend type (web, mobile, TV), tailoring API responses to each client's specific.

11 min read
intermediate

Microservices Architecture

Microservices enable large engineering teams to work independently, deploy frequently, scale individual components, and use the best technology for each.

9 min read
intermediate

Serverless Architecture

Serverless eliminates operational overhead for many use cases. There are no servers to patch, no capacity to plan, and no idle resources to pay for.

7 min read
intermediate

Strangler Fig Pattern

The Strangler Fig Pattern incrementally migrates a legacy monolith to microservices by routing traffic to new services one feature at a time, avoiding.

11 min read
intermediate

Blue-Green Deployment

Blue-green deployment maintains two identical production environments. Traffic switches from blue (current) to green (new) instantly, enabling.

11 min read
intermediate

Event-Driven Architecture

EDA enables loose coupling, scalability, and real-time processing. It is the architecture behind real-time analytics, IoT systems, and modern.

9 min read
intermediate

Canary Release

Canary release gradually rolls out a new version to a small percentage of users first, monitoring for issues before expanding to 100%, reducing the blast.

11 min read
intermediate

Peer-to-Peer Architecture

P2P eliminates the need for central servers, making systems more resilient and cost-effective for certain use cases.

7 min read
beginner

Feature Flags

Feature flags toggle functionality on or off at runtime without code deployment. They enable trunk-based development, A/B testing, gradual rollouts, and.

11 min read
intermediate

Monolith vs Microservices

When to use a monolithic architecture versus microservices, the real tradeoffs involved, and practical migration strategies used by companies like.

13 min read