It needs to migrate from Layered Architecture -> Hexagonal Architecture
BrianDYKim opened this issue · 0 comments
BrianDYKim commented
Preview
I made this project with layered architecture at first, but I'd encountered these problems:
- As this project being bigger and bigger, the implementation layer has many, many, so many responsibilities. this causes many challenges bout the maintenance.
- This is same context of the first problem I mentioned. In the layered architecture I used, the only one layered architecture has more than one responsibility communicating with middlewares, like the kafka, AWS SQS, DynamoDB, Redis, etc as the project being bigger and bigger.
What to do in order to solve this problem?
I found Hexagonal Architecture
With this architecture, i can segregate responsibilities as many as possible making my project code more clean.