Event-Driven Architecture (EDA)
EDA involves components that communicate through events. Events trigger actions in response, making systems highly decoupled and responsive to changes.
Example:
A stock trading system where price updates trigger buy/sell orders.
- Price Update Events trigger buy/sell orders.
- Order Execution Events update order status.
EDA makes systems highly responsive and decoupled, allowing for real-time reactions to changes.
Design Patterns Architecture
Design patterns and architectural styles play a crucial role in shaping the structure and behavior of software systems. Let’s explore several architectural patterns and styles, each with its own characteristics, using examples and suitable diagrams.
Important Topics for Design Patterns Architecture
- Layered Architecture (N-Tier Architecture)
- Microservices Architecture
- Service-Oriented Architecture (SOA)
- Event-Driven Architecture (EDA)
- Hexagonal Architecture (Ports and Adapters)
- Component-Based Architecture
- Blackboard Architecture
- Space-Based Architecture
- CQRS (Command Query Responsibility Segregation)
- Clean Architecture
- Serverless architecture
- Conclusion