Mall-Vue
Mall-Vue copied to clipboard
Repository polish
采用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.