Event-driven architecture (EDA) is contrasted with the traditional request-response model by decoupling services through asynchronous messaging. In EDA, events generated by one service, such as an order being placed, are sent to a notification engine (like AWS SNS or EventBridge), which then distributes the event to subscribing services such as credit card processing, order fulfillment, and fraud detection. This allows for greater flexibility and easier addition of new services without tightly coupling them. However, handling complex scenarios such as subsequent cancellations due to fraud requires additional considerations.
•7m watch time
Sort: