In other words, a Core Domain is not just the most important model in any ol' Bounded Context.
Also we should strive for 1:1 model and Bounded Context.
For example, a Supporting Subdomain could possibly have that situation, but it is definitely not a DDD "Core Domain."
1
2
This is, of course, in terms of DDD. Perhaps you didn't have DDD precisely in mind when you codified SCS. So it's understandable that you could have the case of multiple models and the most important model in one SCS.
2
1
Thank you. I’ll leave the discussion of DDD terminology to one of my more knowledgeable colleagues. Personally, I like an SCS to be the physical instantiation of, or wrapper around, one bounded context, including its interfaces to the outside world.
1
1
From my limited understanding, the core domain (in DDD terms) could be spread across multiple SCSs, but doesn’t have to be
1
1
To me multiple SCS for on Core Domain sounds like tiny microservices. But the infodeck basically says the opposite: SCS == M models 1 Core.
1
2
Multiple SCS for one core domain would in my view be an exception, not the rule. I don’t object to multiple BCs within one SCS if the resulting system is still maintainable by one team.
1
Multiple Bounded Contexts in one SCS is probably more like a monolith, or definitely so. If SCS is meant for that then I suggest it be more clearly stated on a single slide and in the docs. You might even state:
SCS can be:
- Course-Grained Microservice
- Multi-Model Monolith
1
1
So in your view, it would be better if an SCS always contained exactly one BC?
(And BTW I agree that each SCS is a (possibly modular) monolith. Monoliths are awesome, so let’s build many of them.)
1
1
No, because SCS is @INNOQ definition. It should be what you think it is.
I referred @polarbit29 (and others) to SCS thinking it is limited to defining BC-sized microservices such as has been in discussion the past few days. I didn't think it defines monoliths as well.
1
As a matter of fact, that’s one part I disagree with (at least to a certain degree): martinfowler.com/articles/do…
Apr 12, 2020 · 8:42 PM UTC
1
1

