Skip to content

Repository polish #28

@seethefruture

Description

@seethefruture

采用DDD设计原理后,持久层的操作粒度过大,导致性能低下。
我采用的解决方案:

  • 延迟加载+延迟传递(读)
  • TODO(写)

待解决的问题:

  • 即时对象过多
  • 多次隐式查询

代码位置
方案详情

如果您有好的方法或建议,请在下方提出。


After using DDD design principle, the repository operation grain is too large, resulting in low performance.
Solution:

  • Lazy Load + Delayed Delivery ( for Read )
  • TODO ( for Write)

Problems to be solved:

  • Too many instant objects
  • Many times implicit queries

source code location
solution detail here

If you have better solutions or suggestions, please put forward them below.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions