3 ms·
Onion, Hexagonal is pretty popular in the dotnet world and microservices. It's also overcomplicated for it's use-case and the main problem becomes mapping betw
by NicoJuicy 2y ago
Onion, Hexagonal is pretty popular in the dotnet world and microservices.
It's also overcomplicated for it's use-case and the main problem becomes mapping between layers and etc.
Eg. One of the code-smells would be the Web.Abstractions layer.
Just go with Vertical Slice Architecture. It dumbs everything down and if you need another technology as DB for example, you'll always need a migration of sorts, even if you have all the necessary abstractions.
Note: Currently on a solo 4 month migration project going from Cognitive Search to Elastic, yes, we use "Onion".
- darkteflon 2y agoOT, but would you be inclined to elaborate on why you decided to migrate away from CS to Elastic? We’re currently considering CS.
- NicoJuicy 2y agoElastic search has snapshots ( iso deligation) and is cheaper/faster. Cognitive has no backups out of the box. Ps. ES has an SQLish language that makes it easier: https://rockset.com/articles/elasticsearch-sql/ https://rockset.com/articles/elasticsearch-sql/