Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 988 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 988 Bytes

CQRS on AWS

This project is a demo of using CQRS and Event-Driven Architecture with DDD. Terraform and the Serverless framework have been used to handle the infrastructure and lambda function deployments. For events, we've got the Event Bus using SQS and SNS to handle the flow of information between different parts of the system.

Diagram

Diagram

Note

In this example, I have opted for a single database instead of two separate databases for the Command Query Responsibility Segregation (CQRS) implementation. The decision was made to keep the example straightforward and easy to understand. Introducing two databases might add unnecessary complexity, which could overshadow the primary focus of illustrating CQRS principles. Keep in mind that in a real-world scenario, the choice of using a single or multiple databases would depend on the specific requirements and complexities of the application.