4 ms·
This completely leaves out the business model, which should always be the driving force behind any architectural decisions. I don't know what type of cross-dom
by ChicagoDave 2y ago
This completely leaves out the business model, which should always be the driving force behind any architectural decisions.
I don't know what type of cross-domain communication I need until I model something. Any given domain could have many published events. Any given domain could have many commands. Any given domain could have many subscriptions.
The business models of those domains come first. That dictates everything including APIs, data store, commands, and events.
This article is similar to saying all applications should use a relational database or all applications should use AWS Lambdas.
The most important step in any architecture is "It depends."
- Waterluvian 2y agoThis is key and it’s something engineers constantly miss. My best guess is because it involves a lot of the stuff that engineers don’t find interesting or require outside help with from the business side of the company. But I’d say almost all of the interesting and challenging parts of engineering happen here. The rest is just manufacturing and maintenance. (Though I find those fun too!)