Chapter 1
Cloud Architecture
Course: Comptia Cloud Cv0 004
Subject: Comptia Cloud Cv0004
Chapter: Devops Fundamentals
1. Event-Driven Architectures (EDA)
Definition:
Event-Driven Architecture is a software design pattern where services interact by emitting, transmitting, and responding to events. An event represents a state change (e.g., "order placed", "file uploaded") and drives downstream workflows asynchronously.
Core Components:
- Event Producers: Systems or services that detect state changes and publish events. Example: A payment microservice emits a payment_successful event after processing.
- Event Consumers: Services that subscribe and react to specific event types. Example: A billing service updates invoices upon receiving a payment_successful event.
- Event Brokers (Message Brokers): Middleware for routing events from producers to consumers. Examples:
Apache Kafka (high-throughput event streaming)
RabbitMQ (reliable message delivery)
AWS SNS/SQS (fully managed pub-sub and queue services)
- Apache Kafka (high-throughput event streaming)
- RabbitMQ (reliable message delivery)
- AWS SNS/SQS (fully managed pub-sub and queue services)