Implementing Domain Driven Design Cost -
i using ddd in project , liked powerful idea has , being independent of end db design. , making use of mvp model in front end. yet lately, having performance issue of translating models models (>>1000 objects @ time) like:
- from ef repository model domain model
- from domain model viewmodel
and same trip should go persist single object on db. cons of implementing model or there way of reducing cost should follow.
probably case use cqrs.
when separate read model, can ommit current mapping layers , hydrate directly data source.
Comments
Post a Comment