Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository polish #28

Open
seethefruture opened this issue Mar 31, 2021 · 0 comments
Open

Repository polish #28

seethefruture opened this issue Mar 31, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@seethefruture
Copy link
Collaborator

采用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.

@seethefruture seethefruture added the enhancement New feature or request label Mar 31, 2021
@seethefruture seethefruture self-assigned this Mar 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant