{"title":"ThespisTRX","authors":"C. Camilleri, Joseph G. Vella, Vitezslav Nezval","doi":"10.4018/ijitwe.2020010101","DOIUrl":null,"url":null,"abstract":"Data consistency defines how usable a data set is. Causal consistency is the strongest type of consistency that can be achieved when data is stored in multiple locations, and fault tolerance is desired. Thespis is a middleware that innovatively leverages the Actor model to implement causal consistency over a DBMS, whilst abstracting complexities for application developers behind a REST interface. Following the evaluation of correctness, performance and scalability of Thespis, it is illustrated how a business application can be guaranteed causal consistency, but still encounter Time-To-Check-Time-To-Use (TOCTOU) race conditions. The design and implementation of ThespisTRX is given, which builds upon, and extends, the Thespis middleware to offer read-only transaction capabilities, allowing clients to read a causally-consistent version of multiple data entities. A correctness analysis illustrates how ThespisTRX avoids TOCTOU race conditions, and empirical performance tests show that this can be achieved with minimal overheads.","PeriodicalId":51925,"journal":{"name":"International Journal of Information Technology and Web Engineering","volume":"26 1","pages":""},"PeriodicalIF":0.6000,"publicationDate":"2020-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Information Technology and Web Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4018/ijitwe.2020010101","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 1
摘要
数据一致性定义了数据集的可用性。当数据存储在多个位置并且需要容错时,因果一致性是可以实现的最强类型的一致性。thespiis是一种中间件,它创新性地利用Actor模型在DBMS上实现因果一致性,同时为应用程序开发人员在REST接口后面抽象复杂性。在对Thespis的正确性、性能和可伸缩性进行评估之后,将说明如何保证业务应用程序的因果一致性,但仍然会遇到time - to - check - to - use (TOCTOU)竞争条件。本文给出了ThespisTRX的设计和实现,它构建并扩展了thespiis中间件,以提供只读事务功能,允许客户端读取多个数据实体的因果一致版本。正确性分析说明了ThespisTRX如何避免TOCTOU竞争条件,经验性能测试表明,这可以以最小的开销实现。
Data consistency defines how usable a data set is. Causal consistency is the strongest type of consistency that can be achieved when data is stored in multiple locations, and fault tolerance is desired. Thespis is a middleware that innovatively leverages the Actor model to implement causal consistency over a DBMS, whilst abstracting complexities for application developers behind a REST interface. Following the evaluation of correctness, performance and scalability of Thespis, it is illustrated how a business application can be guaranteed causal consistency, but still encounter Time-To-Check-Time-To-Use (TOCTOU) race conditions. The design and implementation of ThespisTRX is given, which builds upon, and extends, the Thespis middleware to offer read-only transaction capabilities, allowing clients to read a causally-consistent version of multiple data entities. A correctness analysis illustrates how ThespisTRX avoids TOCTOU race conditions, and empirical performance tests show that this can be achieved with minimal overheads.
期刊介绍:
Organizations are continuously overwhelmed by a variety of new information technologies, many are Web based. These new technologies are capitalizing on the widespread use of network and communication technologies for seamless integration of various issues in information and knowledge sharing within and among organizations. This emphasis on integrated approaches is unique to this journal and dictates cross platform and multidisciplinary strategy to research and practice.