Locking Based Concurrency Control. for Integrated Real-Time Database Systems. D. Hong y. S. Chakravarthy. T. Johnson

Size: px
Start display at page:

Download "Locking Based Concurrency Control. for Integrated Real-Time Database Systems. D. Hong y. S. Chakravarthy. T. Johnson"

Transcription

1 Locking Based Concurrency Control for Integrated Real-Time Database Systems D. Hong y S. Chakravarthy T. Johnson Database Systems Research and Development Center Computer and Information Science and Engineering Department University of Florida, Gainesville, FL fsharma, tedg@cis.ufl.edu Abstract In many base applications, incoming transactions are a mixed load of conventional (non real-time) and real-time (typically soft and rm) transactions. In this environment, transactions can even be changed dynamically from non realtime to soft or rm, or from soft to rm deadline transactions according to their execution paths. In this paper we show how lock based approach can handle these situation better than Optimistic Concurrency Control and how we can extend Alternative Version Concurrency Control (AVCC [Hon95]) to handle the mixed load ef- ciently for integrated real-time bases systems. 1 Introduction In many applications such as Network Service Databases [PSS + 94], incoming transactions are usually a mixed load of non real-time, soft, and rm types. Transactions that query the Network Trac Management (NTM) that are maintained to support selfadaptive capability and fault-tolerance of Network Ser- This work is supported by the Oce of Naval Research and the Navy Command, Control and Ocean Surveillance Center RDT&E Division, and by the Rome Laboratory. y Author's current address: Computer Technology Division, Database Section, Electronics and Telecommunication Research Institute (ETRI), 161 Kajong-Dong Yusong-Gu, Taejon, South Korea. dkhong@dbserver.etri.re.kr vice Databases have time constraints. They have soft or rm deadlines according to their semantics. Meanwhile transactions that only access non-dynamic such as customer service records, and account information are typically treated as non real-time transactions. Some of the transactions can even be changed from non real-time status to soft or rm deadline transactions, or from soft to rm deadline transactions dynamically during their execution (based on their execution paths). Consider a soft deadline (or non real-time) transaction which can be changed to a rm transaction by accessing a rm real-time on its future execution paths. Classifying the transaction as rm when it arrives and discarding it when it misses its deadline is not a good approach because the transaction may be nished as a soft (non real-time) transaction if the transaction does not access the real-time that eectively causes its transition from soft to rm. Thus many transactions could be executed with weakened time constraints before they actually access real-time which have stronger constraints. Weakening time constraints as much as possible help us to design real-time systems more eciently [Ram95]. The relative proportions of non real-time, soft, and rm deadline transactions are not known a priori as they are likely to change with time and application. By considering these mixed load situations, the transaction scheduler of RTDBS has to process a combination of non real-time, soft, and rm deadline transactions eciently. To the best of our knowledge, no single concurrency control algorithm can eciently handle non real-time, soft, and rm deadline transaction together. In non real-time (conventional) base systems all transactions have the same priorities and blockings and s are the usual approaches to resolve access conicts. Two phase locking (2PL) and Optimistic Concurrency Control (OCC) are representative techniques used for blocking and to resolve conicts, respectively. Under most operating circumstances, however, locking algorithms outperform OCC for non real-time transac-

2 tions [AD85, ACL87, CS84]. For soft deadline transactions, most of the research work has focused on priority assignment policy using locking based concurrency control. Several priority assignment policies have been proposed [AGM88, HJC93]. However, extending 2PL with priority introduced priority inversion which is undesirable. This led to several priority based conict resolution policies, such as Wait, Wait Promote (WP), and High Priority (HP) [AGM88] schemes. In terms of performance, 2PL-HP showed better performance than OCC for soft RTDBS with nite resources [HCL90a]. By denition, rm real-time transactions are discarded when they miss their deadlines, as there is no value to completing them after they miss their deadlines. Unlike soft RTDBS which typically use 2PL-HP as their concurrency control, most of the approaches for rm RTDBS have tried to develop a new concurrency control algorithm based on OCC which uses deferred policy based on local update scheme [HCL90a]. For rm RTDBS, OCC always outperforms 2PL-HP in the simulation studies conducted by [HCL90a, LS93] while OCC performs better than 2PL-HP only when contention is low as shown in a dierent study [HSRT91]. In our recent study [Hon95], AVCC (Alternate Version Concurrency Control which uses 2PL based approach) always outperform 2PL-HP in simulations for rm deadlines. It is clear that 2PL-HP has wasted and wasted wait due to the semantics of the rm deadline while OCC has wasted execution problem. Various approaches have tried to overcome the above limitations based on their eect on the load under consideration. wasted A wasted happens if a HPT (higher priority transaction) s a LPT (lower priority transaction) and then the HPT is discarded as it misses its deadline. In other words a transaction which is later discarded can cause s. wasted wait A wasted wait happens if a LPT waits for the of a HPT and later the HPT is discarded as it misses its deadline. In other words a transaction which is later discarded can cause wait of a conicting LPT. wasted execution A wasted execution happens when a LPT in time validation phase is ed due to a conicting HPT which has not nished yet. According to earlier studies [HCL90a, LLH95, LS93] OCC seems good for rm but not for non real-time or soft transactions. In addition, it is not easy to devise a validation algorithm for mixed load. In contrast, extending 2PL-HP and AVCC for mixed load situations is quite simple and AVCC works better than 2PL-HP for rm deadline transactions. Thus AVCC which has all the characteristics of 2PL-HP but do not have the wasted of 2PL-HP appears to be a good candidate for the mixed load. In this paper we explain our concurrency control algorithm (AVCC) briey and show how AVCC can be extended to handle the mixed load problem eectively. 2 Alternative Version Concurrency Control 2.1 Motivation of AVCC It has been shown that OCC and its variants are potential concurrency control mechanisms for rm RTDBS [HCL90b, HLC91, HSRT91, LS93, LLH95]. According to these papers 2PL-HP loses some of its advantages over OCC because of wasted and wasted wait problems even though OCC has wasted executions by delaying its validation. If a lock requesting transaction has a higher priority than conicting transactions, 2PL-HP s the con- icting LPT immediately (immediate ). Immediate is useful when a HPT has a high possibility of successful (i.e., transactions in soft RTDBS) by ing LPTs as early as possible. In rm RT- DBS, however, immediate might cause wasted s, which aects the performance adversely. Our observation on the executions of rm deadline transactions is that a HPT can proceed without ing con- icting LPTs if needed when we use deferred update policy which updates on local copies of item and makes them global at time. We only need to the LPT until the completion ( or ) of the conicting HPT. If a HPT is discarded by missing its deadline we can execute the ped LPT by resuming it. This is what we refer to as the /resume deferred policy. In order to dierentiate the cause of transaction blocking, we dene transaction ping as follows: Denition 2.1 (Transaction ping) Transaction ping is the blocking of a LPT and happens when a HPT tries to access a item which is accessed by the LPT. This is in contrast to the term blocking which describes the situation when a LPT tries to access a item accessed by a HPT and is waiting for the completion of that HPT. 2.2 Comparison of conict resolution policies In order to demonstrate the advantages and disadvantages of immediate and deferred policies, we study 4 cases that can arise when a HPT and a LPT conict with each other. These cases are depicted in Figures 1, 2, 3, and 4. For each case we evaluate 3 dierent methods, namely, OCC style deferred

3 (DR-OCC), immediate (IR), and /resume deferred (DR-SR). DR-OCC This policy is exactly the one used by OCC [HCL90a]. The validation and happen at time. IR This policy is exactly the one used by 2PL-HP. The validation and are done when conict occurs. DR-SR This policy uses early stage validation but time. When a HPT conicts with a lock holding LPT we the LPT until the completion time of the HPT. If the HPT completes successfully () then we the LPT. Otherwise (i.e., if the HPT s) we resume the LPT. The following summarizes the alternative outcomes and their relationship to the conict resolution policies described above: Case 1: Both LPT and HPT complete successfully as shown in Figure 1. It is clear that immediate is the best for them in order to have the earliest nish time for the LPT. Case 2: In this case HPT completes successfully and LPT misses its deadline. DR-SR is better in terms of wasting the least amount of system resources (as shown in Figure 2), but the LPT's eective service time of the IR approach is the longest among them. This indicates that IR has a much better chance of changing Case 2 to Case 1. Case 3: This case explains wasted of 2PL-HP most clearly. In Figure 3, IR is the worst among them due to wasted. Both deferred approaches, DR-OCC and DR-SR, are preferable in this situation. Even though DR-OCC looks the best among them, DR-SR is equally good because during the LPT's ped period we can execute other transactions. Case 4: This case (shown in Figure 4) happens when both HPT and LPT miss their deadlines. If we consider the waste of system resources, DR-SR is the best as it wastes less resources. Saving valuable resources reduces transaction arrival blocking under heavily loaded situations by giving many chances of execution to other transactions. This is likely to happen often in heavily loaded situations. By analyzing the 4 alternative outcomes between HPT and LPT transactions, we notice that combining IR and DR-SR properly could be benecial to using a single conict resolution policy. Based on this observation, we propose the following new concurrency control algorithm. Our algorithm is named Alternative Version Concurrency Control (AVCC) because it combines IR and DR-SR policies together by maintaining IR version and DR-SR version of a transaction at the same time. Immediate Restart (OCC) Restart Restart (Stop-Resume) Start Figure 1: Case 1: Both transactions nished successfully within their deadlines Restart (OCC) Start Immediate Restart L H Restart (-resume) Figure 2: Case 2: HPT completed successfully, LPT missed In AVCC, priorities of transactions are assigned using Earliest Deadline First (EDF) and all transaction updates are done on local copies and are made global at time { a deferred update policy. 2.3 Basic idea of AVCC A method for obtaining the advantages of both DR-SR and IR policies is to use both versions together in a meaningful way. If a lock requesting HPT T r conicts with a lock holding LPT T h we T h and initiate an additional immediately ed version T i (as an alternative of T h ). This is the policy adopted by AVCC and is illustrated in Figure 5. Thus we have a ped version as well as a ed version of the LPT at the same time. Even though the ped version T h takes some space it does not consume any processing time until it resumes its execution again. Meanwhile, T i can proceed up to the point that caused the and work from there after T r s, instead of starting from the beginning when T r s. If T r misses its deadline, T i is removed from the system and T h resumes its work from the ped position. This approach also can be viewed as a method to implement partial roll-

4 Start Restart (OCC) Immediate Restart L H Restart (-resume) resume Figure 3: Case 3: HPT missed, LPT completed successfully During the execution of a transaction, the IR version of a transaction might be ped again by another HPT and changed to DR-SR version and initiate a new IR version. Thus, in AVCC, each transaction might have multiple DR versions and a single IR version which is the leaf of the family tree. Only the IR version of a transaction can be allowed to run while the other DR-SR versions are waiting for their resumption. In Figure 6 we illustrate a general view of transactions' execution with 3 transactions, T i, T j, and T k. For each transaction a rectangle represents a local space for each version and the dark area in each space shows how much of the required has been processed by a version of the transaction. For simplicity we assume that the left one is the space of right one's parent. The parent's processed space is always more than its child's. Start Restart (OCC) Immediate Restart Restart (-resume) Ti Tj Tk resume Figure 4: Case 4: Both LPT and HPT missed their deadlines backs without using the save point mechanism. T i is a partially rolled back version of T h when T r s. By maintaining the ped version and initiating the ed version, AVCC can reduce wasted and wasted execution. In AVCC the execution path of T h and T i is exactly the same when T r is still in the system because T r has locks on the shared and the value of input does not change within the deadline of T h. DR version T h and IR version T i has a parent/child relationship so that T i can inherit the deadline and priority of T h and can access the accessed by T h freely. LPT Ti Th Tr HPT : ped tr : not ped tr : relationship : parent/child relationship Figure 5: and immediate versions local area Global, Shared lock table Figure 6: Execution structure of AVCC More complete details and performance evaluation of AVCC can be found in [Hon95]. 3 Extension of AVCC In order to handle a mixed load of transactions (that have dierent time constraints) we extend the priority mechanism. First, we classify the incoming transactions into 3 classes according to their time constraints. The priority of a transaction consists of two elds, class and time-priority. For soft (class 2) and rm (class 3), we use EDF (earliest deadline rst) priority assignment for their time-priority and we assign 0 (zero) as timepriority for all non real-time transactions. Data conict resolutions are done as follows: If a LPT conicts with a HPT or a transaction with the same priority, we use blocking mechanism irrespective of its class. When a HPT of soft deadline conicts with a LPT, we use IR and if a HPT of rm deadline conicts with a LPT, we use IR and DR-SR together. Thus the

5 Class Transaction Conict resolution Priority class 1 non real-time Blocking only (1, -) class 2 soft deadline Blocking, IR (2, EDF) class 3 rm deadline Blocking, DR-SR and IR (3, EDF) Table 1: Classication and Priority assignment of extended AVCC extended AVCC works as 2PL for non real-time transactions, EDF-HP for soft deadline transactions, and AVCC for rm deadline transactions. Class specication of a transaction could be changed dynamically as mentioned earlier (when they access a real-time, for example). Class specication of a transaction could be upgraded from 1 to 2 or 3, or from 2 to 3 but class downgrading is not allowed as it does not make sense semantically. A blocked or ped transaction will not create any problem in our approach because class upgrading happens only when a transaction is running. As the proposed approach uses a blocking scheme for transactions with the same priority (all non real-time transactions have the same priority, soft and rm transactions might have the same priority), deadlocks can happen. Deadlocks are detected by maintaining a waitfor graph for each class (note that deadlocks cannot happen across classes) and searching for cycles whenever a new arc is added to the graph. When a deadlock is detected a victim is selected by choosing the transactions which correspond to the arc which completes the cycle in the graph (transactions in the cycle have the same priorities). 4 Conclusions In many applications incoming transactions are usually a mixed load of non real-time, soft, and rm deadline transactions and the mix (and whether it is a mix) is not known a priori. Thus concurrency control algorithm of RTDBS need to be able to handle non real-time, soft, rm, or any combinations thereof eciently. Early validation is good for non real-time and soft, but causes wasted for rm. Late validation is good by reducing wasted for rm but bad for non real-time, soft, and rm as they incur wasted execution. In this paper, we have shown a way to extend AVCC for mixed load environment. Extended AVCC works like 2PL for non real-time, 2PL-HP for soft, and AVCC for rm deadline transactions. As shown in the previous section, extending locking based algorithms for mixed load was not very dicult because early stage validation mechanism can use time constraints of transactions in the form of priority easier than late stage validation mechanism. Performance evaluation for the mixed load is not an easy task. There are a number of issues to be addressed here. For example, what is a proper performance metrics if incoming transactions are a mixed load of non real-time, soft, and rm transactions? Transaction miss percent and TPS (Transactions Per Second) are the most common performance metric for real-time and conventional base systems, respectively. A proper performance metric need to be developed for the mixed load environment. References [ACL87] Rakesh Agrawal, Michael J. Carey, and Miron Livny. Concurrency control performance modeling: Alternatives and implications. ACM Transactions on Database Systems, 12(4):609{654, [AD85] Rakesh Agrawal and D. DeWitt. Integrated concurrency control and recovery mechanism: Design and performance evaluation. ACM Transactions on Database Systems, 10(4):529{564, [AGM88] Robert Abbott and Hector Garcia-Molina. Scheduling real-time transactions: a performance evaluation. In Proceedings of the 14th VLDB, pages 1{12. ACM, [CS84] Michael J. Carey and Michael R. Stonebraker. The performance of concurrency control algorithms for base management systems. In Proceedings of the 10th VLDB, pages 107{118. ACM, [HCL90a] Jayant R. Haritsa, Michael J. Carey, and Miron Livny. Dynamic real-time optimistic concurrency control. In Proceedings of Real- Time System Symposium, pages 94{103, Lake Buena Vista, Florida, IEEE. [HCL90b] Jayant R. Haritsa, Michael J. Carey, and Miron Livny. On being optimistic about realtime constraints. In Symposium of Principles of Database systems, pages 331{343. ACM, [HJC93] D. Hong, T. Johnson, and S. Chakravarthy. Real-time transaction scheduling: A Cost- Conscious Approach. In Proceedings of the 1993 ACM SIGMOD Int'l Conference on Management of Data, pages 197{206. ACM, 1993.

6 [HLC91] Jayant R. Haritsa, Miron Livny, and Michael J. Carey. Earliest deadline scheduling for real-time base systems. In Proceedings of Real-Time System Symposium, pages 232{242, San Antonio, Texas, IEEE. [Hon95] D. Hong. Real-Time transaction scheduling for conventional and active base systems. PhD thesis, University of Florida, Dept. of CISE, [HSRT91] Jiandong Huang, John A. Stankovic, Krithi Ramamritham, and Don Towsley. Experimental evaluation of real-time optimistic concurrency control schemes. In Proceedings of the 17th VLDB, pages 35{46. ACM, [LLH95] Kwokwa Lam, Kamyiu Lam, and Sheunglun Hung. An ecient real-time optimistic concurrency control protocol. In Proceedings of ACM Workshop on Active and Real-Time base systems, pages 100{110. ACM, [LS93] Juhnyoung Lee and Sang H. Son. Using dynamic adjustment of serialization order for real-time base systems. In Proceedings of Real-Time Systems Symposium, pages 66{ 75. IEEE, [PSS + 94] B. Purimetla, R.M. Sivasankaran, J.A. Stankovic, K. Ramamritham, and D. Towsley. A priority assignment in real-time active bases. Technical Report UM-CS , University of Massachusetts at Amherst, [Ram95] Krithi Ramamritham. The Origin of TCs: Where do the Time Constraints come from? In Proceedings of ACM Workshop on Active and Real-Time base systems, pages 184{ 187. ACM, 1995.

Maintaining Temporal Consistency: Issues and Algorithms

Maintaining Temporal Consistency: Issues and Algorithms Maintaining Temporal Consistency: Issues and Algorithms Ming Xiong, John A. Stankovic, Krithi Ramamritham, Don Towsley, Rajendran Sivasankaran Department of Computer Science University of Massachusetts

More information

Real-time Optimistic Concurrency Control based on Transaction Finish Degree

Real-time Optimistic Concurrency Control based on Transaction Finish Degree Journal of Computer Science 1 (4): 471-476, 2005 ISSN 1549-3636 Science Publications, 2005 Real-time Optimistic Concurrency Control based on Transaction Finish Degree 1 Han Qilong, 1,2 Hao Zhongxiao 1

More information

Towards the Evaluation of Algorithms used in Real-Time Databases

Towards the Evaluation of Algorithms used in Real-Time Databases Towards the Evaluation of Algorithms used in Real-Time Databases VÁCLAV KRÓL 1, JINDŘICH ČERNOHORSKÝ 2, JAN POKORNÝ 2 1 Institute of Information Technologies Silesian University in Opava, Faculty of Business

More information

Efficient Priority Assignment Policies for Distributed Real-Time Database Systems

Efficient Priority Assignment Policies for Distributed Real-Time Database Systems Proceedings of the 7 WSEAS International Conference on Computer Engineering and Applications, Gold Coast, Australia, January 17-19, 7 7 Efficient Priority Assignment Policies for Distributed Real-Time

More information

Using Real-Time Serializability and Optimistic Concurrency Control in Firm Real-Time Databases

Using Real-Time Serializability and Optimistic Concurrency Control in Firm Real-Time Databases Using Real-Time Serializability and Optimistic Concurrency Control in Firm Real-Time Databases Jan Lindström and Kimmo Raatikainen University of Helsinki, Department of Computer Science P.O. Box 26 (Teollisuuskatu

More information

Speculative Concurrency Control. A position Statement. Azer Bestavros. Boston University

Speculative Concurrency Control. A position Statement. Azer Bestavros. Boston University peculative Concurrency Control position tatement zer Bestavros Computer cience Department Boston University Introduction Traditional concurrency control algorithms can be broadly classied as either pessimistic

More information

Comparing two-phase locking and optimistic concurrency control protocols in multiprocessor real-time databases

Comparing two-phase locking and optimistic concurrency control protocols in multiprocessor real-time databases Title Comparing two-phase locking and optimistic concurrency control protocols in multiprocessor real-time databases Author(s) Chiu, A; Kao, CM; Lam, KY Citation The 5th Joint Workshop on Parallel and

More information

An Optimistic Approach in Distributed Database Concurrency Control

An Optimistic Approach in Distributed Database Concurrency Control An Optimistic Approach in Distributed Database Concurrency Control Obaidah A. Rawashdeh MSc. Student, Computer Science Dept. Faculty of Information Technology Applied Science University placed@live.com

More information

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases : A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases Ming Xiong æ, Krithi Ramamritham y, Jayant Haritsa z, John A. Stankovic x Abstract Data replication can help database

More information

REAL-TIME DATABASES (RTDB)

REAL-TIME DATABASES (RTDB) REAL-TIME DATABASES (RTDB) Prof. Fabio A. Schreiber Politecnico di Milano REAL-TIME DATABASE SYSTEMS DATABASE SYSTEMS WHICH MANAGE TIME CONSTRAINED DATA SPECIFIC TIME INTERVALS FOR DATA VALIDITY VALIDITY

More information

A Prudent-Precedence Concurrency Control Protocol for High Data Contention Main Memory Databases

A Prudent-Precedence Concurrency Control Protocol for High Data Contention Main Memory Databases Int'l Conf. Information and Knowledge Engineering IKE'16 3 A Prudent-Precedence Concurrency Control Protocol for High Data Contention Main Memory Databases Mohammed Hamdi 1, Weidong Xiong 1, Feng Yu 2,

More information

Admission Control Prototype for Real-Time Databases

Admission Control Prototype for Real-Time Databases Int. J. Advanced Networking and Applications 1456 Volume:04 Issue:01 Pages: 1456-1461 (2012) ISSN : 0975-0290. Admission Control Prototype for Real-Time Databases Rahul Kumar Mishra 1,Dr. Udai Shanker

More information

Multi-version Speculative Concurrency Control. with Delayed Commit. Azer Bestavros. Boston University

Multi-version Speculative Concurrency Control. with Delayed Commit. Azer Bestavros.  Boston University Multi-version peculative Concurrency Control with Delayed Commit zer Bestavros (best@cs.bu.edu) Biao Wang (bwang@cs.bu.edu) Computer cience Department Boston University Boston, M 225 October 27, 993 bstract

More information

A Transaction Processing Technique in Real-Time Object- Oriented Databases

A Transaction Processing Technique in Real-Time Object- Oriented Databases 122 IJCSNS International Journal of Computer Science and Network Security, VOL.8 No.1, January 2008 A Transaction Processing Technique in Real-Time Object- Oriented Databases Woochun Jun Dept. of Computer

More information

Performance of Distributed Optimistic Concurrency Control in Real-Time databases

Performance of Distributed Optimistic Concurrency Control in Real-Time databases Performance of Distributed Optimistic Concurrency Control in Real-Time databases Jan Lindström University of Helsinki, Department of Computer Science P.O. Box 26 (Teollisuuskatu 23), FIN-00014 University

More information

Dynamic Adjustment of Serialization Order using Timestamp Intervals in Real-Time Databases

Dynamic Adjustment of Serialization Order using Timestamp Intervals in Real-Time Databases Dynamic Adjustment of Serialization Order using Timestamp Intervals in Real-Time Databases Jan Lindström and Kimmo Raatikainen Department of Computer Science, University of Helsinki P.O. Box 26 (Teollisuuskatu

More information

Priority Assignment in Real-Time Active Databases 1. Bhaskar Purimetla, Rajendran M. Sivasankaran, John A. Stankovic, Krithi Ramamritham & Don Towsley

Priority Assignment in Real-Time Active Databases 1. Bhaskar Purimetla, Rajendran M. Sivasankaran, John A. Stankovic, Krithi Ramamritham & Don Towsley Priority Assignment in Real-Time Active Databases 1 Bhaskar Purimetla, Rajendran M. Sivasankaran, John A. Stankovic, Krithi Ramamritham & Don Towsley Department of Computer Science University of Massachusetts,

More information

Performance Evaluation of Two-Shadow. Speculative Concurrency Control. Spyridon Braoudakis. Boston University.

Performance Evaluation of Two-Shadow. Speculative Concurrency Control. Spyridon Braoudakis. Boston University. Performance Evaluation of Two-Shadow Speculative Concurrency Control Azer Bestavros (best@cs.bu.edu) Spyridon Braoudakis (sb@cs.bu.edu) Euthimios Panagos (thimios@cs.bu.edu) Computer Science Department

More information

Priority assignment in real-time active databases 1

Priority assignment in real-time active databases 1 The VLDB Journal 1996) 5: 19 34 The VLDB Journal c Springer-Verlag 1996 Priority assignment in real-time active databases 1 Rajendran M. Sivasankaran, John A. Stankovic, Don Towsley, Bhaskar Purimetla,

More information

transaction in an information management system usually has a soft deadline, may request highly complex queries, and arrives aperiodically. Even thoug

transaction in an information management system usually has a soft deadline, may request highly complex queries, and arrives aperiodically. Even thoug Supporting Predictability in Real-Time Database Systems Young-Kuk Kim Sang H. Son Department of Computer Science Department of Computer Science Chungnam National University University of Virginia Taejon,

More information

A Boolean Expression. Reachability Analysis or Bisimulation. Equation Solver. Boolean. equations.

A Boolean Expression. Reachability Analysis or Bisimulation. Equation Solver. Boolean. equations. A Framework for Embedded Real-time System Design? Jin-Young Choi 1, Hee-Hwan Kwak 2, and Insup Lee 2 1 Department of Computer Science and Engineering, Korea Univerity choi@formal.korea.ac.kr 2 Department

More information

Performance Evaluation of Two New Disk Scheduling Algorithms. for Real-Time Systems. Department of Computer & Information Science

Performance Evaluation of Two New Disk Scheduling Algorithms. for Real-Time Systems. Department of Computer & Information Science Performance Evaluation of Two New Disk Scheduling Algorithms for Real-Time Systems Shenze Chen James F. Kurose John A. Stankovic Don Towsley Department of Computer & Information Science University of Massachusetts

More information

Hybrid Concurrency Control Method in Firm Real-Time Databases

Hybrid Concurrency Control Method in Firm Real-Time Databases Hybrid Concurrency Control Method in Firm Real-Time Databases Jan Lindström IBM Finland Lab Laajalahdentie 23, 00101 Helsinki, Finland jan.lindstrom@fi.ibm.com Abstract Real-time database system must meet

More information

A Read-Write-Validate Approach to Optimistic Concurrency Control for Energy Efficiency of Resource-Constrained Systems

A Read-Write-Validate Approach to Optimistic Concurrency Control for Energy Efficiency of Resource-Constrained Systems A Read-Write-Validate Approach to Optimistic Concurrency Control for Energy Efficiency of Resource-Constrained Systems Kamal Solaiman, Matthew Brook, Gary Ushaw, Graham Morgan School of Computing Science,

More information

An Aggressive Concurrency Control Protocol for Main Memory Databases

An Aggressive Concurrency Control Protocol for Main Memory Databases An Aggressive Concurrency Control Protocol for Main Memory Databases Mohammed Hamdi Department of Computer Science Sarah Alswedani Department of Computer Science Weidong Xiong Department of Computer Science

More information

In Proceedings of AAAI 96: The Fall Symposium on Flexible Computation in Intelligent Systems, Cambridge, MA, November 1996.

In Proceedings of AAAI 96: The Fall Symposium on Flexible Computation in Intelligent Systems, Cambridge, MA, November 1996. In Proceedings of AAAI 96: The Fall Symposium on Flexible Computation in Intelligent Systems, Cambridge, MA, November 1996. An Admission Control Paradigm for Value-cognizant Real-Time Databases Azer Bestavros

More information

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases University of Massachusetts Amherst ScholarWorks@UMass Amherst Computer Science Department Faculty Publication Series Computer Science 1999 : A State-Conscious Concurrency Control Protocol for Replicated

More information

Optimistic Concurrency Control Methods for Real-Time Database Systems

Optimistic Concurrency Control Methods for Real-Time Database Systems DEPARTMENT OF COMPUTER SCIENCE SERIES OF PUBLICATIONS C REPORT C-2001-9 Optimistic Concurrency Control Methods for Real-Time Database Systems Jan Lindström UNIVERSITY OF HELSINKI FINLAND Optimistic Concurrency

More information

Real-time scheduling of transactions in multicore systems

Real-time scheduling of transactions in multicore systems Real-time scheduling of transactions in multicore systems Toufik Sarni, Audrey Queudet, Patrick Valduriez To cite this version: Toufik Sarni, Audrey Queudet, Patrick Valduriez. Real-time scheduling of

More information

Scheduling in Multiprocessor System Using Genetic Algorithms

Scheduling in Multiprocessor System Using Genetic Algorithms Scheduling in Multiprocessor System Using Genetic Algorithms Keshav Dahal 1, Alamgir Hossain 1, Benzy Varghese 1, Ajith Abraham 2, Fatos Xhafa 3, Atanasi Daradoumis 4 1 University of Bradford, UK, {k.p.dahal;

More information

Real-Time Scalability of Nested Spin Locks. Hiroaki Takada and Ken Sakamura. Faculty of Science, University of Tokyo

Real-Time Scalability of Nested Spin Locks. Hiroaki Takada and Ken Sakamura. Faculty of Science, University of Tokyo Real-Time Scalability of Nested Spin Locks Hiroaki Takada and Ken Sakamura Department of Information Science, Faculty of Science, University of Tokyo 7-3-1, Hongo, Bunkyo-ku, Tokyo 113, Japan Abstract

More information

Reading Temporally Consistent Data in Broadcast Disks

Reading Temporally Consistent Data in Broadcast Disks Reading Temporally Consistent Data in Broadcast Disks Victor C.S. Lee Joseph K. Ng Jo Y. P. Chong Kwok-wa Lam csvlee@cityu.edu.hk jng@comp.hkbu.edu.hk csleric@cityu.edu.hk Department of Computer Science,City

More information

More Optimism about Real-Time Distributed Commit Processing

More Optimism about Real-Time Distributed Commit Processing More Optimism about Real-Time Distributed Commit Processing Ramesh Gupta Jayant Haritsa Krithi Ramamritham y Abstract In [6], we proposed a new commit protocol, OPT, specially designed for use in distributed

More information

The V4DB project support platform for testing the algorithms used in realtime

The V4DB project support platform for testing the algorithms used in realtime The V4DB project support platform for testing the algorithms used in realtime databases VÁCLAV KRÓL 1, JAN POKORNÝ 2, JINDŘICH ČERNOHORSKÝ 2 1 Institute of Information Technologies Silesian University

More information

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases

MIRROR: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases : A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases Ming Xiong y, Krithi Ramamritham z Department of Computer Science University of Massachusetts Amherst, MA 13 fxiong,

More information

11 Design Issues and Experimental Database Architecture for Telecommunications

11 Design Issues and Experimental Database Architecture for Telecommunications 11 Design Issues and Experimental Database Architecture for Telecommunications Juha Taina and Kimma Raatikainen University of Helsinki, Department of Computer Science P. 0. Box 26 (Teollisuuskatu 23) FIN-000

More information

Resolving Executing Committing Conflicts in Distributed Real-time Database Systems

Resolving Executing Committing Conflicts in Distributed Real-time Database Systems Resolving Executing Committing Conflicts in Distributed Real-time Database Systems KAM-YIU LAM 1,CHUNG-LEUNG PANG 1,SANG H. SON 2 AND JIANNONG CAO 3 1 Department of Computer Science, City University of

More information

Project Report, CS 862 Quasi-Consistency and Caching with Broadcast Disks

Project Report, CS 862 Quasi-Consistency and Caching with Broadcast Disks Project Report, CS 862 Quasi-Consistency and Caching with Broadcast Disks Rashmi Srinivasa Dec 7, 1999 Abstract Among the concurrency control techniques proposed for transactional clients in broadcast

More information

Using Dynamic Adjustment of Serialization Order for Real-Time Database Systems

Using Dynamic Adjustment of Serialization Order for Real-Time Database Systems ~~ Using Dynamic Adjustment of Serialization Order for Real-Time Database Systems Juhnyoung Lee and Sang H. Son Department of Computer Science University of Virginia Charlottesville, VA 22903 Abstract

More information

2 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. XX, NO. Y, MONTH 1999 B. Contributions For the above real-time context, the main contrib

2 IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. XX, NO. Y, MONTH 1999 B. Contributions For the above real-time context, the main contrib IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. XX, NO. Y, MONTH 1999 1 The PROMPT Real-Time Commit Protocol Jayant R. Haritsa, Krithi Ramamritham, Ramesh Gupta Abstract Weinvestigate the performance

More information

Research Trends and Issues in Real-Time Database Systems. Sang H. Son. University of Virginia ABSTRACT

Research Trends and Issues in Real-Time Database Systems. Sang H. Son. University of Virginia ABSTRACT Research Trends and Issues in Real-Time Database Systems Sang H. Son Dept. of Computer Science University of Virginia Charlottesville, Virginia 22903 son@cs.virginia.edu ABSTRACT Real-time database systems

More information

Optimistic Concurrency Control based on Cache Coherency in Distributed Database Systems

Optimistic Concurrency Control based on Cache Coherency in Distributed Database Systems 148 Optimistic Concurrency Control based on Cache Coherency in Distributed Database Systems Tae-Young Choe, Kumoh National Institute of Technology 1, YangHo Dong, Gumi, Korea Summary Optimistic concurrency

More information

Dynamic Voltage Scaling of Periodic and Aperiodic Tasks in Priority-Driven Systems Λ

Dynamic Voltage Scaling of Periodic and Aperiodic Tasks in Priority-Driven Systems Λ Dynamic Voltage Scaling of Periodic and Aperiodic Tasks in Priority-Driven Systems Λ Dongkun Shin Jihong Kim School of CSE School of CSE Seoul National University Seoul National University Seoul, Korea

More information

Consistent Logical Checkpointing. Nitin H. Vaidya. Texas A&M University. Phone: Fax:

Consistent Logical Checkpointing. Nitin H. Vaidya. Texas A&M University. Phone: Fax: Consistent Logical Checkpointing Nitin H. Vaidya Department of Computer Science Texas A&M University College Station, TX 77843-3112 hone: 409-845-0512 Fax: 409-847-8578 E-mail: vaidya@cs.tamu.edu Technical

More information

Maintaining integrity constraints and security in real-time database systems

Maintaining integrity constraints and security in real-time database systems Maintaining integrity constraints and security in real-time database systems Q. N. Ahmed and S. V. Vrbsky Department of Computer Science, The University of Alabama 101 Houser Hall, Box 870290, Tuscaloosa,

More information

2 Data Reduction Techniques The granularity of reducible information is one of the main criteria for classifying the reduction techniques. While the t

2 Data Reduction Techniques The granularity of reducible information is one of the main criteria for classifying the reduction techniques. While the t Data Reduction - an Adaptation Technique for Mobile Environments A. Heuer, A. Lubinski Computer Science Dept., University of Rostock, Germany Keywords. Reduction. Mobile Database Systems, Data Abstract.

More information

A taxonomy of race. D. P. Helmbold, C. E. McDowell. September 28, University of California, Santa Cruz. Santa Cruz, CA

A taxonomy of race. D. P. Helmbold, C. E. McDowell. September 28, University of California, Santa Cruz. Santa Cruz, CA A taxonomy of race conditions. D. P. Helmbold, C. E. McDowell UCSC-CRL-94-34 September 28, 1994 Board of Studies in Computer and Information Sciences University of California, Santa Cruz Santa Cruz, CA

More information

Areal-time database system is a transaction processing

Areal-time database system is a transaction processing IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 14, NO. 5, SEPTEMBER/OCTOBER 2002 1155 Scheduling Transactions with Temporal Constraints: Exploiting Data Semantics Ming Xiong, Member, IEEE, Krithi

More information

Object-Oriented Design of Main-Memory DBMS. S. K. Cha, B. D. Park, S. J. Lee, S. H. Song, J. H. Park

Object-Oriented Design of Main-Memory DBMS. S. K. Cha, B. D. Park, S. J. Lee, S. H. Song, J. H. Park Object-Oriented Design of Main-Memory DBMS for Real-Time Applications S. K. Cha, B. D. Park, S. J. Lee, S. H. Song, J. H. Park School of Electrical Eng. and ERC for Advanced Control and Instrumentation

More information

CIRS: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases

CIRS: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases CIRS: A State-Conscious Concurrency Control Protocol for Replicated Real-Time Databases Vishal Pathak Ajay Pratap Rabin Kr. Singh Abhishek Kr. Singh Abstract Replication [5] is the technique of using multiple

More information

Three Read Priority Locking for Concurrency Control in Distributed Databases

Three Read Priority Locking for Concurrency Control in Distributed Databases Three Read Priority Locking for Concurrency Control in Distributed Databases Christos Papanastasiou Technological Educational Institution Stereas Elladas, Department of Electrical Engineering 35100 Lamia,

More information

Issues in Server Farm Design for Real Time E-commerce Transactions

Issues in Server Farm Design for Real Time E-commerce Transactions Issues in Server Farm Design for Real Time E-commerce Transactions Alok Chaturvedi (alok@mgmt.purdue.edu) Krannert Graduate School of Management 3 Krannert Building West Lafayette IN 4796-3 Telephone:

More information

SAMOS: an Active Object{Oriented Database System. Stella Gatziu, Klaus R. Dittrich. Database Technology Research Group

SAMOS: an Active Object{Oriented Database System. Stella Gatziu, Klaus R. Dittrich. Database Technology Research Group SAMOS: an Active Object{Oriented Database System Stella Gatziu, Klaus R. Dittrich Database Technology Research Group Institut fur Informatik, Universitat Zurich fgatziu, dittrichg@ifi.unizh.ch to appear

More information

OCP- A Distributed Real Time Commit Protocol

OCP- A Distributed Real Time Commit Protocol - A Distributed Real Time Commit Protocol Udai Shanker* Manoj Misra Anil K. Sarje Department of Electronics & Computer Engineering Indian Institute of Technology Roorkee Roorkee-247 667 India udaigkp@gmail.com,manojfec,

More information

EXTENDING THE PRIORITY CEILING PROTOCOL USING READ/WRITE AFFECTED SETS MICHAEL A. SQUADRITO A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE

EXTENDING THE PRIORITY CEILING PROTOCOL USING READ/WRITE AFFECTED SETS MICHAEL A. SQUADRITO A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE EXTENDING THE PRIORITY CEILING PROTOCOL USING READ/WRITE AFFECTED SETS BY MICHAEL A. SQUADRITO A THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE IN COMPUTER

More information

Disk Scheduling with Dynamic Request Priorities. Yongcheng Li See-Mong Tan Zhigang Chen Roy H. Campbell. Department of Computer Science

Disk Scheduling with Dynamic Request Priorities. Yongcheng Li See-Mong Tan Zhigang Chen Roy H. Campbell. Department of Computer Science Disk Scheduling with Dynamic Request Priorities Yongcheng Li See-Mong Tan Zhigang Chen Roy H. Campbell Department of Computer Science University of Illinois at Urbana-Champaign Digital Computer Laboratory

More information

Two-Version-Based Concurrency Control and Recovery in Real-Time Client/Server Databases

Two-Version-Based Concurrency Control and Recovery in Real-Time Client/Server Databases Two-Version-Based Concurrency Control and Recovery in Real-Time Client/Server Databases Tei-Wei Kuo, Yuan-Ting Kao, and Chin-Fu Kuo Department of Computer Science and Information Engineering National Taiwan

More information

Real-time operating systems and scheduling

Real-time operating systems and scheduling Real-time operating systems and scheduling Problem 21 Consider a real-time operating system (OS) that has a built-in preemptive scheduler. Each task has a unique priority and the lower the priority id,

More information

Authorized licensed use limited to: Univ of Texas at Dallas. Downloaded on May 11,2010 at 17:35:15 UTC from IEEE Xplore. Restrictions apply.

Authorized licensed use limited to: Univ of Texas at Dallas. Downloaded on May 11,2010 at 17:35:15 UTC from IEEE Xplore. Restrictions apply. Concurrency Control in Real-Time Object-Oriented Systems: The Aected Set Priority Ceiling Protocols Michael Squadrito, Levon Esibov, Lisa C. DiPippo, Victor F. Wolfe, and Gregory Cooper (lastname@cs.uri.edu)

More information

requests or displaying activities, hence they usually have soft deadlines, or no deadlines at all. Aperiodic tasks with hard deadlines are called spor

requests or displaying activities, hence they usually have soft deadlines, or no deadlines at all. Aperiodic tasks with hard deadlines are called spor Scheduling Aperiodic Tasks in Dynamic Priority Systems Marco Spuri and Giorgio Buttazzo Scuola Superiore S.Anna, via Carducci 4, 561 Pisa, Italy Email: spuri@fastnet.it, giorgio@sssup.it Abstract In this

More information

mywbut.com Concurrency Control

mywbut.com Concurrency Control C H A P T E R 1 6 Concurrency Control This chapter describes how to control concurrent execution in a database, in order to ensure the isolation properties of transactions. A variety of protocols are described

More information

REAL-TIME DATABASES: EXTENDED TRANSACTIONS AND THE UTILIZATION OF EXECUTION HISTORIES Abstract by ERDO GAN DO GDU Real-time database systems (RTDBMSs)

REAL-TIME DATABASES: EXTENDED TRANSACTIONS AND THE UTILIZATION OF EXECUTION HISTORIES Abstract by ERDO GAN DO GDU Real-time database systems (RTDBMSs) REAL-TIME DATABASES: EXTENDED TRANSACTIONS AND THE UTILIZATION OF EXECUTION HISTORIES by ERDO GAN DO GDU Submitted in Partial Fulllment of the Requirements for the Degree of Doctor of Philosophy Dissertation

More information

REAL-TIME SCHEDULING OF SOFT PERIODIC TASKS ON MULTIPROCESSOR SYSTEMS: A FUZZY MODEL

REAL-TIME SCHEDULING OF SOFT PERIODIC TASKS ON MULTIPROCESSOR SYSTEMS: A FUZZY MODEL Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 3, Issue. 6, June 2014, pg.348

More information

Real-Time Concurrency Control in a Multiprocessor Environment

Real-Time Concurrency Control in a Multiprocessor Environment IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, VOL. 13, NO. 6, JUNE 2002 659 Real-Time Concurrency Control in a Multiprocessor Environment Tei-Wei Kuo, Member, IEEE, Jun Wu, and Hsin-Chia Hsih

More information

Deterministic Best Eort and Planning Based. Protocols for Real-time Communication in Multiple. Access Networks. Samphel Norden S.

Deterministic Best Eort and Planning Based. Protocols for Real-time Communication in Multiple. Access Networks. Samphel Norden S. Deterministic Best Eort and Planning Based Protocols for Real-time Communication in Multiple Access Networks Samphel Norden S. Balaji G. Manimaran C. Siva Ram Murthy? Department of Computer Science and

More information

OCC and Its Variants. Jan Lindström. Helsinki 7. November Seminar on real-time systems UNIVERSITY OF HELSINKI. Department of Computer Science

OCC and Its Variants. Jan Lindström. Helsinki 7. November Seminar on real-time systems UNIVERSITY OF HELSINKI. Department of Computer Science OCC and Its Variants Jan Lindström Helsinki 7. November 1997 Seminar on real-time systems UNIVERSITY OF HELSINKI Department o Computer Science Contents 1 Introduction 1 2 Optimistic Concurrency Control

More information

suitable for real-time applications. In this paper, we add a layer of Real-Time Communication Control (RTCC) protocol on top of Ethernet. The RTCC pro

suitable for real-time applications. In this paper, we add a layer of Real-Time Communication Control (RTCC) protocol on top of Ethernet. The RTCC pro A Hard Real-Time Communication Control Protocol Based on the Ethernet WANG Zhi-Ping 1, XIONG Guang-Ze 1, LUO Jin 1, LAI Ming-Zhi 1,and Wanlei ZHOU 2 1 Computer Science and Engineering College, University

More information

Keyword search in relational databases. By SO Tsz Yan Amanda & HON Ka Lam Ethan

Keyword search in relational databases. By SO Tsz Yan Amanda & HON Ka Lam Ethan Keyword search in relational databases By SO Tsz Yan Amanda & HON Ka Lam Ethan 1 Introduction Ubiquitous relational databases Need to know SQL and database structure Hard to define an object 2 Query representation

More information

A Competitive Dynamic Data Replication Algorithm. Yixiu Huang, Ouri Wolfson. Electrical Engineering and Computer Science Department

A Competitive Dynamic Data Replication Algorithm. Yixiu Huang, Ouri Wolfson. Electrical Engineering and Computer Science Department A Competitive Dynamic Data Replication Algorithm Yixiu Huang, Ouri Wolfson Electrical Engineering and Computer Science Department University of Illinois at Chicago Abstract In this paper, we present a

More information

Improving Timeliness in Real-Time Secure Database Systems

Improving Timeliness in Real-Time Secure Database Systems Improving Timeliness in Real-Time Secure Database Systems Sang H. Son *, Rasikan David*, and Bhavani Thuraisingham * Department of Computer Science Mitre Corporation University of Virginia Bedford, MA

More information

Server 1 Server 2 CPU. mem I/O. allocate rec n read elem. n*47.0. n*20.0. select. n*1.0. write elem. n*26.5 send. n*

Server 1 Server 2 CPU. mem I/O. allocate rec n read elem. n*47.0. n*20.0. select. n*1.0. write elem. n*26.5 send. n* Information Needs in Performance Analysis of Telecommunication Software a Case Study Vesa Hirvisalo Esko Nuutila Helsinki University of Technology Laboratory of Information Processing Science Otakaari

More information

ABSTRACT AN OBJECT-ORIENTED REAL-TIME DATABASE SYSTEM FOR MULTIPROCESSORS. by Victor Bradley Lortz Chair: Kang G. Shin Complex real-time systems need

ABSTRACT AN OBJECT-ORIENTED REAL-TIME DATABASE SYSTEM FOR MULTIPROCESSORS. by Victor Bradley Lortz Chair: Kang G. Shin Complex real-time systems need AN OBJECT-ORIENTED REAL-TIME DATABASE SYSTEM FOR MULTIPROCESSORS. by Victor Bradley Lortz A dissertation submitted in partial fulllment of the requirements for the degree of Doctor of Philosophy (Computer

More information

Using the Holey Brick Tree for Spatial Data. in General Purpose DBMSs. Northeastern University

Using the Holey Brick Tree for Spatial Data. in General Purpose DBMSs. Northeastern University Using the Holey Brick Tree for Spatial Data in General Purpose DBMSs Georgios Evangelidis Betty Salzberg College of Computer Science Northeastern University Boston, MA 02115-5096 1 Introduction There is

More information

Greedy Algorithms. T. M. Murali. January 28, Interval Scheduling Interval Partitioning Minimising Lateness

Greedy Algorithms. T. M. Murali. January 28, Interval Scheduling Interval Partitioning Minimising Lateness Greedy Algorithms T. M. Murali January 28, 2008 Algorithm Design Start discussion of dierent ways of designing algorithms. Greedy algorithms, divide and conquer, dynamic programming. Discuss principles

More information

Comparison of scheduling in RTLinux and RT-Mach Fredrik Löfgren frelo305 Dan Persson danpe454

Comparison of scheduling in RTLinux and RT-Mach Fredrik Löfgren frelo305 Dan Persson danpe454 Comparison of scheduling in RTLinux and RT-Mach 2006-11-18 Fredrik Löfgren 840803-1915 frelo305 Dan Persson 840912-2515 danpe454 Abstract Real-time systems are getting more common the world these days.

More information

Datenbanksysteme II: Implementation of Database Systems Synchronization of Concurrent Transactions

Datenbanksysteme II: Implementation of Database Systems Synchronization of Concurrent Transactions Datenbanksysteme II: Implementation of Database Systems Synchronization of Concurrent Transactions Material von Prof. Johann Christoph Freytag Prof. Kai-Uwe Sattler Prof. Alfons Kemper, Dr. Eickler Prof.

More information

REAL-TIME SCHEDULING FOR DEPENDABLE MULTIMEDIA TASKS IN MULTIPROCESSOR SYSTEMS

REAL-TIME SCHEDULING FOR DEPENDABLE MULTIMEDIA TASKS IN MULTIPROCESSOR SYSTEMS REAL-TIME SCHEDULING FOR DEPENDABLE MULTIMEDIA TASKS IN MULTIPROCESSOR SYSTEMS Xiao Qin Liping Pang Zongfen Han Shengli Li Department of Computer Science, Huazhong University of Science and Technology

More information

Outline. Optimistic CC (Kung&Robinson) Carnegie Mellon Univ. Dept. of Computer Science Database Applications

Outline. Optimistic CC (Kung&Robinson) Carnegie Mellon Univ. Dept. of Computer Science Database Applications Carnegie Mellon Univ. Dept. of Computer Science 15-415 - Database Applications Lecture #23: Alternative Concurrency Control Methods (R&G ch. 17) Faloutsos SCS 15-415 #1 Outline serializability; 2PL; deadlocks

More information

Analyzing Real-Time Systems

Analyzing Real-Time Systems Analyzing Real-Time Systems Reference: Burns and Wellings, Real-Time Systems and Programming Languages 17-654/17-754: Analysis of Software Artifacts Jonathan Aldrich Real-Time Systems Definition Any system

More information

Concurrency Control. [R&G] Chapter 17 CS432 1

Concurrency Control. [R&G] Chapter 17 CS432 1 Concurrency Control [R&G] Chapter 17 CS432 1 Conflict Serializable Schedules Two schedules are conflict equivalent if: Involve the same actions of the same transactions Every pair of conflicting actions

More information

Efficient validation of mobile transactions in wireless environments q

Efficient validation of mobile transactions in wireless environments q The Journal of Systems and Software 69 (2004) 183 193 www.elsevier.com/locate/jss Efficient validation of mobile transactions in wireless environments q Victor C.S. Lee a, *, Kwok Wa Lam a, Tei-Wei Kuo

More information

Concurrency Control. Conflict Serializable Schedules. Example. Chapter 17

Concurrency Control. Conflict Serializable Schedules. Example. Chapter 17 Concurrency Control Chapter 17 Database Management Systems 3ed, R. Ramakrishnan and J. Gehrke 1 Conflict Serializable Schedules Two schedules are conflict equivalent if: Involve the same actions of the

More information

Processing Real-Time Transactions in a Replicated Database System

Processing Real-Time Transactions in a Replicated Database System Distributed and Parallel Databases, 2, 405436 (1994) 1994 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. Processing Real-Time Transactions in a Replicated Database System C)ZGOR ULUSOY

More information

Deadlock Prevention (cont d) Deadlock Prevention. Example: Wait-Die. Wait-Die

Deadlock Prevention (cont d) Deadlock Prevention. Example: Wait-Die. Wait-Die Deadlock Prevention Deadlock Prevention (cont d) 82 83 When there is a high level of lock contention and an increased likelihood of deadlocks Prevent deadlocks by giving each Xact a priority Assign priorities

More information

SCHEDULING REAL-TIME MESSAGES IN PACKET-SWITCHED NETWORKS IAN RAMSAY PHILP. B.S., University of North Carolina at Chapel Hill, 1988

SCHEDULING REAL-TIME MESSAGES IN PACKET-SWITCHED NETWORKS IAN RAMSAY PHILP. B.S., University of North Carolina at Chapel Hill, 1988 SCHEDULING REAL-TIME MESSAGES IN PACKET-SWITCHED NETWORKS BY IAN RAMSAY PHILP B.S., University of North Carolina at Chapel Hill, 1988 M.S., University of Florida, 1990 THESIS Submitted in partial fulllment

More information

Learning Outcomes. Scheduling. Is scheduling important? What is Scheduling? Application Behaviour. Is scheduling important?

Learning Outcomes. Scheduling. Is scheduling important? What is Scheduling? Application Behaviour. Is scheduling important? Learning Outcomes Scheduling Understand the role of the scheduler, and how its behaviour influences the performance of the system. Know the difference between I/O-bound and CPU-bound tasks, and how they

More information

Abort-Oriented Concurrency Control for Real-Time Databases

Abort-Oriented Concurrency Control for Real-Time Databases 660 IEEE TRANSACTIONS ON COMPUTERS, VOL. 50, NO. 7, JULY 2001 Abort-Oriented Concurrency Control for Real-Time Databases Tei-Wei Kuo, Member, IEEE, Ming-Chung Liang, and LihChyun Shu, Member, IEEE AbstractÐThere

More information

transaction - (another def) - the execution of a program that accesses or changes the contents of the database

transaction - (another def) - the execution of a program that accesses or changes the contents of the database Chapter 19-21 - Transaction Processing Concepts transaction - logical unit of database processing - becomes interesting only with multiprogramming - multiuser database - more than one transaction executing

More information

DB2 Lecture 10 Concurrency Control

DB2 Lecture 10 Concurrency Control DB2 Lecture 10 Control Jacob Aae Mikkelsen November 28, 2012 1 / 71 Jacob Aae Mikkelsen DB2 Lecture 10 Control ACID Properties Properly implemented transactions are commonly said to meet the ACID test,

More information

A Concurrency Control for Transactional Mobile Agents

A Concurrency Control for Transactional Mobile Agents A Concurrency Control for Transactional Mobile Agents Jeong-Joon Yoo and Dong-Ik Lee Department of Information and Communications, Kwang-Ju Institute of Science and Technology (K-JIST) Puk-Gu Oryong-Dong

More information

Scheduling and Concurrency Control for Real-Time Database Systems

Scheduling and Concurrency Control for Real-Time Database Systems Scheduling and Concurrency Control for Real-Time Database Systems Sang H. Son and Seog Park? Department of Computer Science, University of Virginia, Charlottesville, VA 22903, USA t Department of Computer

More information

(Preliminary Version 2 ) Jai-Hoon Kim Nitin H. Vaidya. Department of Computer Science. Texas A&M University. College Station, TX

(Preliminary Version 2 ) Jai-Hoon Kim Nitin H. Vaidya. Department of Computer Science. Texas A&M University. College Station, TX Towards an Adaptive Distributed Shared Memory (Preliminary Version ) Jai-Hoon Kim Nitin H. Vaidya Department of Computer Science Texas A&M University College Station, TX 77843-3 E-mail: fjhkim,vaidyag@cs.tamu.edu

More information

An Evaluation of Information Retrieval Accuracy. with Simulated OCR Output. K. Taghva z, and J. Borsack z. University of Massachusetts, Amherst

An Evaluation of Information Retrieval Accuracy. with Simulated OCR Output. K. Taghva z, and J. Borsack z. University of Massachusetts, Amherst An Evaluation of Information Retrieval Accuracy with Simulated OCR Output W.B. Croft y, S.M. Harding y, K. Taghva z, and J. Borsack z y Computer Science Department University of Massachusetts, Amherst

More information

On Concurrency Control For Inverted Files

On Concurrency Control For Inverted Files On Concurrency Control For Inverted Files A. MacFarlane*, S. E. Robertson, J. A. McCann School Of Informatics, City University, UK * Email; A.MacFarlane@lpac.ac.uk Abstract Few if any Information Retrieval

More information

Adaptive Commitment for Distributed Real-Time Transactions. Nandit Soparkar y. Eliezer Levy z. Henry F. Korth x. Avi Silberschatz {

Adaptive Commitment for Distributed Real-Time Transactions. Nandit Soparkar y. Eliezer Levy z. Henry F. Korth x. Avi Silberschatz { Adaptive Commitment for Distributed Real-Time Transactions Nandit Soparkar y Eliezer Levy z Henry F. Korth x Avi Silberschatz { Abstract Distributed real-time transaction systems are useful for both real-time

More information

Concurrency and Recovery. Index Trees. Digital Equipment Corporation. Cambridge Research Lab. CRL 91/8 August 19, 1991

Concurrency and Recovery. Index Trees. Digital Equipment Corporation. Cambridge Research Lab. CRL 91/8 August 19, 1991 Concurrency and Recovery Index Trees for David Lomet Betty Salzberg Digital Equipment Corporation Cambridge Research Lab CRL 91/8 August 19, 1991 Digital Equipment Corporation has four research facilities:

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Introduction to Embedded Systems Sanjit A. Seshia UC Berkeley EECS 9/9A Fall 0 008-0: E. A. Lee, A. L. Sangiovanni-Vincentelli, S. A. Seshia. All rights reserved. Chapter : Operating Systems, Microkernels,

More information

Schedulability with resource sharing. Priority inheritance protocol Priority ceiling protocol Stack resource policy

Schedulability with resource sharing. Priority inheritance protocol Priority ceiling protocol Stack resource policy Schedulability with resource sharing Priority inheritance protocol Priority ceiling protocol Stack resource policy 1 Lecture overview We have discussed the occurrence of unbounded priority inversion We

More information

Implementation and modeling of two-phase locking concurrency control a performance study

Implementation and modeling of two-phase locking concurrency control a performance study INFSOF 4047 Information and Software Technology 42 (2000) 257 273 www.elsevier.nl/locate/infsof Implementation and modeling of two-phase locking concurrency control a performance study N.B. Al-Jumah a,

More information

ACTA: The SAGA Continues. Abstract. ACTA is a comprehensive transaction framework that permits a transaction

ACTA: The SAGA Continues. Abstract. ACTA is a comprehensive transaction framework that permits a transaction ACTA: The SAGA Continues Panos K. Chrysanthis Dept. of Computer Science University of Pittsburgh Pittsburgh, PA 15260 Krithi Ramamritham Dept. of Computer Science University of Massachusetts Amherst, MA

More information