Unfortunately there are no simple formulas for when to back away from application level transactions.
遗憾的是,对于何时应当放弃应用级事务并没有简单的规则。
Let's see how transactions really work in our application.
让我们看看事务是如何真正在我们的应用程序中运作的。
Managing transactions is not very difficult (see DesignerTransactionImpl.cs in the sample application).
管理事务并不非常困难(请参见示例应用程序中的DesignerTransactionImpl . cs)。
But transactions are also expensive; they consume valuable resources and can slow down an application.
但是事务的开销也很大;它们会消耗宝贵的资源并且会减慢应用程序的速度。
Will the application handle the number of transactions required by the business?
你的应用程序能处理那么多业务所需的事务吗?
Will the application handle the number of transactions required by the business?
你的应用程序能处理那么多业务所需的事务吗?
应用推荐