Message Queues & Event-Driven Architecture
What is Event-Driven Architecture?
Message Queue Patterns
1. Point-to-Point (Queue)
2. Publish-Subscribe (Topic)
3. Request-Reply
RabbitMQ
Installation (Docker)
Setup in .NET
Producer (Publisher)
Consumer (Subscriber)
Publish-Subscribe Pattern
Topic Exchange (Routing)
Azure Service Bus (Covered in Azure Guide)
Event-Driven Patterns
1. Event Notification
2. Event-Carried State Transfer
3. Event Sourcing
4. CQRS (Command Query Responsibility Segregation)
Saga Pattern
Orchestration-Based Saga
Choreography-Based Saga
Outbox Pattern
Idempotency
Dead Letter Queue (DLQ)
Best Practices
1. Message Design
2. Error Handling
3. Monitoring
4. Versioning
5. Testing
Comparison: RabbitMQ vs Azure Service Bus
Feature
RabbitMQ
Azure Service Bus
Quick Reference: When to Use What
Scenario
Pattern/Tool
Event-Driven Architecture Checklist
Design
Implementation
Monitoring
Testing
Last updated