Event-Driven Architecture
Producers emit events that consumers process independently, often through EventBridge, SNS, SQS, or streams.
How it works
Event-driven architecture connects components through the publication and processing of events, such as an order status change. Producers can send events through services such as Amazon EventBridge or Amazon SNS; consumers process them independently and often asynchronously. This reduces direct dependencies between components and allows them to scale separately according to demand.
When to use it
Choose it when the requirement is decouple services that react to business events asynchronously.
Real-world example
An e-commerce site publishes an order-placed event to Amazon EventBridge after checkout. Independent services receive the event to reserve inventory, create an invoice, and prepare shipping, with each service processing at its own pace.
Common pitfall
Events can be delivered more than once or out of order. Design consumers to handle duplicates safely and account for ordering when needed, avoiding duplicate orders or financial transactions.
Often confused with
Compare its service boundary with Read-Heavy Global Workloads; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.