by attil-io · 6y ago · 0 comments
Could you please expand on this? What is wrong with Relational Databases and what would be the "correct" pattern?
Another aspect of all of this is the misconception that we should design systems based on a relational data model. This only leads you through the whole impedance mismatch of ORM's and how you serialize/deserialize your bounded contexts or objects. We should not do this at all. We should design systems on those bound contexts and determine the data store accordingly. Operationally, a Document Database or Event Store is going to be the best tool.
We can fire change events at a data warehouse to store data in a relational manner for analytics and reporting, but none of that is necessary for our operational system.
In your operational system, if you need any sort of complex join, you've already created a poor design.
I will say this. This did not occur to me until I'd gone through the process of developing a complex system using Domain-Driven Design. Until you've done that, the old patterns will remain like concrete.
Simpler is better. Boundaries need to be respected. Tools should be selected based on need, not desire.