Distributed Optimistic Concurrency Considered Optimistic
نویسنده
چکیده
Optimistic concurrency relies on speculative execution, read-write conflict detection, and checkpointrollback techniques to provide a programming model that replaces locks with the abstraction of atomic, isolated execution of critical sections. Previous research has shown that on chip multi-processors, a class of workloads featuring irregular parallelism and rare read-write conflicts can reap significant benefits from the TM model because complex synchronization code can be avoided without the scalability sacrifice that is the hallmark of coarse-grain synchronization. In a distributed in a distributed setting, however, with current technological parameters, this class of workloads becomes vanishingly small. Moreover, this class does not include the workloads currently used to evaluate TM and distributed TM systems. We construct a model that predicts performance for a distributed software transactional memory (DSTM) executing a given workload. The model assumes optimal pipelining, batching, and locality, and predicts performance by finding the critical path induced by read-write sharing. We validate the model against real executions from TM benchmarks in the literature, finding that it tracks observed scalability to within 17%. We apply this model to popular TM benchmark applications, observing that none scale in a distributed context because transactions are too short in relation to network latencies. Traditional latency hiding techniques such as prefetching, batching, and speculation are do not help, and in fact, sometimes make performance worse. We conclude current TM benchmarks are not appropriate workloads for a distributed system using optimistic concurrency.
منابع مشابه
Performance of Distributed Optimistic Concurrency Control in Real-Time Databases
Concurrency control is one of the main issues in the studies of real-time database systems. In this paper different distributed concurrency control methods are studied and evaluated in real-time system environment. Because optimistic concurrency control is promising candidate for real-time database systems, distributed optimistic concurrency control methods are discussed more detailed way. We p...
متن کاملPerformance Comparison of Distributed Object Server Implementation
In this paper we present performance measurements in a cluster environment. First, we briefly explain our version of optimistic concurrency control and load balance. Then we compare performance and speed-up of a CORBAand an AspectC++-implementation of a distributed object server for pessimistic and optimistic concurrency control.
متن کاملPerformance Modeling of an Enhanced Optimistic Locking Architecture for Concurrency Control in a Distributed Database System
Optimistic methods of concurrency control are gaining popularity. This is especially true with the resurgence of mobile and distributed databases during the last decade, which inherently rely on optimistic techniques to improve availability and performance of the distributed database systems. A key problem with optimistic techniques is that they do not perform well in highly conflict prone envi...
متن کاملOptimistic replication in HOPE
The growing imbalance between network latency and throughput is causing nodes in distributed systems to appear to be moving farther apart. Many distributed systems are turning to replication as a mechanism to make resources appear closer. However, maintaining one-copy consistency in a system containing replicated elements has proven diicult. In particular, the checks required to make consistent...
متن کاملOptimistic Concurrency Control based on Cache Coherency in Distributed Database Systems
Optimistic concurrency control highly takes advantage of parallelism because there is no delay by lock. Unfortunately, I/O operations by transactions and cache operations are delayed in the optimistic concurrency control. In order to reduce such delay, we combine cache coherency control and optimistic concurrency control rather than they operate in separate. In this paper, we propose optimistic...
متن کامل