I am using DDD in my project and liked the powerful Idea it has and being independent of my back end DB design. And I am also making use of MVP model in my front END. Yet lately, I am having performance issue of translating Models to Models (>>1000 objects at a time) like:
And the same trip I should go to persist a single object on DB. Is this the cons of implementing this model or is there any way of reducing this cost that I should follow.
Probably it is a good case to use CQRS.
When you separate read model, you can ommit current mapping layers and hydrate it directly from your data source.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments