The answer is to use the High Concurrency transaction strategy.
答案是使用High Concurrency事务策略。
You can use two main techniques to implement the High Concurrency transaction strategy.
您可以使用两个主要技巧来实现High Concurrency事务策略。
Now I'll fix the code in Listing 1 by applying the High Concurrency transaction strategy's read-first technique.
现在,我将修复清单1中的代码,方法是应用HighConcurrency事务策略的先读取技巧。
In these circumstances, you would use the High Concurrency transaction strategy - the topic of this series' fifth article.
遇到这种情况,需要使用High Concurrency事务策略—本系列第5篇文章的主题。
Figure 1 illustrates the High Concurrency transaction strategy via the logical application stack I've used throughout the transaction strategies series.
图1通过我在事务策略系列中所使用的逻辑应用程序栈展示了High Concurrency事务策略。
In the rest of the article, I'll show you some of the other characteristics of the High Concurrency transaction strategy and two approaches to implementing it.
在本文的其余部分,我将向您介绍High Concurrency事务策略的其他一些特性,以及实现它的两种方法。
Concurrency control in business transaction terms usually involves generating and maintaining locks on data stores, such as relational databases.
并发控制在业务事务术语中通常涉及生成和维护数据存储上的锁,例如关系数据库。
In addition to transaction locking, this approach is needed to control the concurrency of applications on a higher level.
除了事务锁定之外,这种方式可以在更高的级别上控制应用程序的并发性。
The profiles of the transaction, throughput/concurrency, and response time curves are shown in Figure 1.
图1显示了事务的运行情况、吞吐量/并发性、以及响应时间曲线。
This functionality provides more robust concurrency and implements it in a way that does not cause extra overhead for the system or transaction processing.
这个功能提供更健壮的并发,而且其实现方式不会给系统或事务处理造成额外的开销。
In addition to other resource management required by services, the ability to handle concurrency is critical to correct transaction management.
除了服务所需的其他资源管理以外,处理并发的能力是纠正事务管理的关键。
A TCS must be capable of managing an arbitrarily complex transaction, with nesting, concurrency, security, scheduling, and all of the other issues discussed in this article.
TCS必须能够管理带有嵌套、并发、安全、进度,及本文中所讨论的所有其他问题的任意复杂的事务。
Increasing the concurrency beyond this value will increase the transaction response time as threads compete for CPU time, and not actually yield any throughput improvement.
当并发数增加到超过该值时,由于线程争用CPU时间,所以事务响应时间将增加,因而实际上并未带来任何吞吐量方面的改进。
The EJB server provides primary services such as object distribution, naming, security, persistence, transaction management, and concurrency.
EJB服务器提供一些基本服务,比如对象分发、命名、安全性、持久性、事务管理和并发性。
The next new feature within DB2 is an improvement to its transaction concurrency model.
DB 2中的另一个新特性是对事务并发模型的改进。
Because of the nature of what transaction logging does, you might expect that low concurrency of the test scenario would yield only a limited benefit.
低并发性的测试场景能够获得一定的性能提升,这是由事务日志的本质决定的。
But actually, this implementation will cause concurrency problems in a transaction system.
但是,这种实现实际上会导致事务处理系统中出现并发问题。
This feature to implement multiversion concurrency control (MVCC) : when mutations within a transaction are applied, the values are written at the timestamp of their transaction.
该特性实现了多版本并发控制(MVCC):当使用了事务时,在写入值时需要带上其事务的时间戳。
If our transaction is CPU-bound, then the productive concurrency is likely to be at most two or three times the number of available processors.
如果我们的事务是CPU限制的,则生产并发数可能最多比可用处理器数多两三倍。
Like the API layer strategy, the High Concurrency strategy frees the client layer from any transaction responsibility.
与api层策略类似,High Concurrency策略释放了客户机层的任何事务责任。
Optimistic concurrency strategy holds no locks in the EJB container or database during a transaction.
Optimistic并发策略在事务期间不在 EJB容器或数据库中持有任何锁。
Exclusive concurrency strategy causes WebLogic Server to place an exclusive lock on cached entity EJB instances when the bean is associated with a transaction.
Exclusive并发策略使得当一个bean与一个事务相关联时,WebLogicServer会在缓存的实体e JB实例上放置一个排他锁。
ZODB is a robust, multi-user, object-oriented database system capable of storing and managing arbitrarily complex Python objects with transaction support and concurrency control.
ZODB是一个健壮的、多用户的和面向对象的数据库系统,它能够存储和管理任意复杂的Python对象,并支持事务操作和并发控制。
There is a small advantage to preparing the statements outside the BEGIN since the transaction will be slightly smaller in time (with second caveat below), thereby permitting more concurrency.
有一个小的优势在准备语句BEGIN因为事务将略小(与第二警告下面),从而允许更多的并发性。
You can see statistics such as undo consumption rate, transaction concurrency, and lengths of queries run in the instance.
用户可以查询撤销空间使用率,事务并发性,实例中最长的查询的运行时间等统计信息。
Suppose you want to stick with using the Declarative transaction model to simplify the transaction processing but still increase throughput during a high-user-concurrency scenario.
假设您希望坚持使用DeclarativeTransaction模型来简化事务处理,但是仍然能在高用户并发性场景中增加吞吐量。
The transaction failed to commit due to the failure of optimistic concurrency control in at least one of the resource managers.
该事务没有确认,因为至少一个资源管理器里的乐观并发控制失败。
In a traditional database system, the transaction correctness is implemented through the concurrency control protocol and the recovery mechanism.
传统数据库通过并发控制协议及事务的恢复机制来保证事务的正确性。
The work in this paper provides the foundation for further research on mixed real-time transaction scheduling and concurrency control, and processing mixed transactions in actual application systems.
本文的研究成果为进一步探讨混合实时事务的调度与并发控制,以及实际应用中的混合事务处理提供了良好的基础。
The work in this paper provides the foundation for further research on mixed real-time transaction scheduling and concurrency control, and processing mixed transactions in actual application systems.
本文的研究成果为进一步探讨混合实时事务的调度与并发控制,以及实际应用中的混合事务处理提供了良好的基础。
应用推荐