DocumentCode :
2536416
Title :
Implementing Optimistic Concurrency Control for Persistence Middleware Using Row Version Verification
Author :
Laiho, Martti ; Laux, Fritz
Author_Institution :
Dept. of Bus. Inf. Technol., Haaga-Helia Univ. of Appl. Sci., Helsinki, Finland
fYear :
2010
fDate :
11-16 April 2010
Firstpage :
45
Lastpage :
50
Abstract :
Modern web-based applications are often built as multi-tier architecture using persistence middleware. Middleware technology providers recommend the use of Optimistic Concurrency Control (OCC) mechanism to avoid the risk of blocked resources. However, most vendors of relational database management systems implement only locking schemes for concurrency control. As consequence a kind of OCC has to be implemented at client or middleware side. A simple Row Version Verification (RVV) mechanism has been proposed to implement an OCC at client side. The implementation of RVV depends on the underlying database management system and the specifics of the middleware. For performance reasons the middleware uses buffers (cache) of its own to avoid network traffic and possible disk I/O. This caching however complicates the use of RVV because the data in the middleware cache may be stale (outdated). We investigate various data access technologies, including the new Java Persistence API (JPA) and Microsoft´s LINQ technologies for their ability to use the RVV programming discipline. The use of persistence middleware that tries to relieve the programmer from the low level transaction programming turns out to even complicate the situation in some cases. Programmed examples show how to use SQL data access patterns to solve the problem.
Keywords :
Internet; Java; cache storage; middleware; program verification; relational databases; Java Persistence API; Microsoft´s LINQ technologies; SQL data access patterns; Web-based application; data access technologies; low level transaction programming; middleware cache; multi-tier architecture; optimistic concurrency control; persistence middleware; relational database management system; row version verification; Communication system traffic control; Concurrency control; Concurrent computing; Electronic mail; Information technology; Java; Middleware; Paper technology; Programming profession; Relational databases; caching; data access pattern; persistence middleware; row version verification;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Advances in Databases Knowledge and Data Applications (DBKDA), 2010 Second International Conference on
Conference_Location :
Menuires
Print_ISBN :
978-1-4244-6081-6
Type :
conf
DOI :
10.1109/DBKDA.2010.25
Filename :
5477148
Link To Document :
بازگشت