This is a conflict between local optimization and global optimization, the short term and the long term.
这是一个全局优化和局部优化、短期和长期的的冲突。
For performance optimization, a local interface can be added to the session facade.
为了性能的优化,可以将一个本地接口添加到会话Facade。
In this last case you can consider using local transactions on each datasource using a technique similar to "last Resource Commit Optimization" [16] (see Example 6 below for details).
在最后的一个场景下,可以考虑在每个数据源中使用本地事务,使用一种类似“Last Resource Commit Optimization”[16]的技术(见下面的范例6)。
应用推荐