Re:Building Domain Driven Microservices
by PopeDotNinja on Tuesday July 07, 2020 @02:54AM
(#23756458)
I wish hexagonal architecture picked used less overloaded words than ports and adapters. And while we're at it, I wish it used hexagons, or picked a different name. It's super obtuse to learn & teach.
Main lesson is that you should not use it for everything (yes, the books say it, but it's easy to overdo it in the beginning). Don't do DDD for the CRUD parts of your app. It works extremely well for business use cases, but it's very bad at CRUD. A mix of both really hits the sweep spot though.
No microservices though, just a monolith. Imo most businesses shouldn't need microservices, only the ones that really need to scale. We definitely don't have anything even close to that.