Hexagonal Architecture with CDK, Lambda, and TypeScript
In this post we look at how we can adopt a hexagonal architecture approach when developing Lambda functions. I am not proposing that this approach is the one true way, but I think it is useful to be aware of the concept and the advantages that it can...
blog.awsfundamentals.com8 min read
Emilio
Software Developer @ Syskron
Your approach is good but what you should mention is that in DDD there is a concept of Aggregates and a necessary rule for it to have only one transaction on one Aggregate (see here Page 7: dddcommunity.org/wp-content/uploads/files/pdf_art…). The reason why this is so important is that people build architectures calling tons of lambdas to keep their objects in sync while missing the point of event driven applications and create non scalable systems