{"title":"对实时分布式提交处理更加乐观","authors":"Ramesh Gupta, J. Haritsa, K. Ramamritham","doi":"10.1109/REAL.1997.641275","DOIUrl":null,"url":null,"abstract":"In (Gupta et al., 1996), we proposed a new commit protocol, OPT, specially designed for use in distributed firm-deadline real-time database systems. OPT allows transactions to optimistically borrow uncommitted prepared data in a controlled manner. This controlled borrowing reduces the data inaccessibility and the priority inversion that is inherent in real-time commit processing. Experimental evaluations showed the new OPT protocol to be highly successful, as compared to the classical distributed commit protocols, in minimizing the number of missed transaction deadlines. In this paper, we extend and improve upon this prior work in the following ways. First, we consider parallel distributed transactions whereas the previous study was restricted to sequential transactions. Second, we evaluate the extent to which OPT's real-time performance is adversely affected by those cases where its optimism turns out to be misplaced. This is achieved by comparing OPT's performance with that of Shadow-OPT, a protocol that augments OPT with the shadow transaction approach and ensures that the right decision about access to uncommitted data is always eventually made. In all of our experiments, which considered a wide range of workloads and system configurations, the difference between OPT and Shadow-OPT never exceeded ten percent. Moreover, the difference was reduced to less than two percent when OPT was enhanced with a simple healthy lenders heuristic. Finally, we compare the performance of OPT to that of an alternative priority, inheritance-based approach to addressing priority inversion during commit processing.","PeriodicalId":231201,"journal":{"name":"Proceedings Real-Time Systems Symposium","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1997-12-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"33","resultStr":"{\"title\":\"More optimism about real-time distributed commit processing\",\"authors\":\"Ramesh Gupta, J. Haritsa, K. Ramamritham\",\"doi\":\"10.1109/REAL.1997.641275\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In (Gupta et al., 1996), we proposed a new commit protocol, OPT, specially designed for use in distributed firm-deadline real-time database systems. OPT allows transactions to optimistically borrow uncommitted prepared data in a controlled manner. This controlled borrowing reduces the data inaccessibility and the priority inversion that is inherent in real-time commit processing. Experimental evaluations showed the new OPT protocol to be highly successful, as compared to the classical distributed commit protocols, in minimizing the number of missed transaction deadlines. In this paper, we extend and improve upon this prior work in the following ways. First, we consider parallel distributed transactions whereas the previous study was restricted to sequential transactions. Second, we evaluate the extent to which OPT's real-time performance is adversely affected by those cases where its optimism turns out to be misplaced. This is achieved by comparing OPT's performance with that of Shadow-OPT, a protocol that augments OPT with the shadow transaction approach and ensures that the right decision about access to uncommitted data is always eventually made. In all of our experiments, which considered a wide range of workloads and system configurations, the difference between OPT and Shadow-OPT never exceeded ten percent. Moreover, the difference was reduced to less than two percent when OPT was enhanced with a simple healthy lenders heuristic. Finally, we compare the performance of OPT to that of an alternative priority, inheritance-based approach to addressing priority inversion during commit processing.\",\"PeriodicalId\":231201,\"journal\":{\"name\":\"Proceedings Real-Time Systems Symposium\",\"volume\":\"12 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1997-12-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"33\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings Real-Time Systems Symposium\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/REAL.1997.641275\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Real-Time Systems Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/REAL.1997.641275","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 33
摘要
在(Gupta et al., 1996)中,我们提出了一种新的提交协议OPT,专门设计用于分布式公司截止日期实时数据库系统。OPT允许事务以受控的方式乐观地借用未提交的准备数据。这种受控的借用减少了实时提交处理中固有的数据不可访问性和优先级反转。实验评估表明,与经典的分布式提交协议相比,新的OPT协议在最小化错过的事务截止日期方面非常成功。在本文中,我们从以下几个方面对前人的工作进行了扩展和改进。首先,我们考虑了并行分布式事务,而之前的研究仅限于顺序事务。其次,我们评估了OPT的实时性能在多大程度上受到其乐观情绪被证明是错误的情况的不利影响。这是通过将OPT的性能与shadow -OPT的性能进行比较来实现的,shadow -OPT是一种通过影子事务方法增强OPT的协议,并确保最终总是做出关于访问未提交数据的正确决策。在我们考虑了各种工作负载和系统配置的所有实验中,OPT和Shadow-OPT之间的差异从未超过10%。此外,当使用简单的健康贷款人启发式方法增强OPT时,差异减少到不到2%。最后,我们将OPT的性能与另一种在提交处理期间解决优先级反转的基于继承的优先级方法的性能进行了比较。
More optimism about real-time distributed commit processing
In (Gupta et al., 1996), we proposed a new commit protocol, OPT, specially designed for use in distributed firm-deadline real-time database systems. OPT allows transactions to optimistically borrow uncommitted prepared data in a controlled manner. This controlled borrowing reduces the data inaccessibility and the priority inversion that is inherent in real-time commit processing. Experimental evaluations showed the new OPT protocol to be highly successful, as compared to the classical distributed commit protocols, in minimizing the number of missed transaction deadlines. In this paper, we extend and improve upon this prior work in the following ways. First, we consider parallel distributed transactions whereas the previous study was restricted to sequential transactions. Second, we evaluate the extent to which OPT's real-time performance is adversely affected by those cases where its optimism turns out to be misplaced. This is achieved by comparing OPT's performance with that of Shadow-OPT, a protocol that augments OPT with the shadow transaction approach and ensures that the right decision about access to uncommitted data is always eventually made. In all of our experiments, which considered a wide range of workloads and system configurations, the difference between OPT and Shadow-OPT never exceeded ten percent. Moreover, the difference was reduced to less than two percent when OPT was enhanced with a simple healthy lenders heuristic. Finally, we compare the performance of OPT to that of an alternative priority, inheritance-based approach to addressing priority inversion during commit processing.