DATA CONSISTENCY MODELS IN APPLICATIONS WITH MICROSERVICE ARCHITECTURE

Ya. I. Kornaga
{"title":"DATA CONSISTENCY MODELS IN APPLICATIONS WITH MICROSERVICE ARCHITECTURE","authors":"Ya. I. Kornaga","doi":"10.31673/2412-4338.2023.012941","DOIUrl":null,"url":null,"abstract":"Individual database transactions can easily meet ACID requirements and ensure strong consistency, but distributed transactions have a number of limitations to address. Hard transactions are are found to be fully ACID compliant, while using flexible transactions isolation is not fully guaranteed. In practice, the isolation requirement is waived to some extent to ensure high throughput and system performance. Flexible transactions generally adhere to the Basic Availability, Flexible State, Eventually Consistency (BASE) theory. The BASE theorem is an extension of the CAP theorem. This is the balance between consistency and availability in CAP. According to the BASE theory, we cannot achieve strong consistency, however, each program can achieve ultimate consistency by using an appropriate method according to its own characteristics. CAP shows that a distributed system cannot achieve consistency, availability, and distribution resilience at the same time. It is worth to pay attention at the stage of system design. It was found that hard transactions are strive for persistent consistency, and so they sacrifice high availability. Flexible transactions sacrifice consistency in exchange for high system availability.","PeriodicalId":494506,"journal":{"name":"Telekomunìkacìjnì ta ìnformacìjnì tehnologìï","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Telekomunìkacìjnì ta ìnformacìjnì tehnologìï","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.31673/2412-4338.2023.012941","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Individual database transactions can easily meet ACID requirements and ensure strong consistency, but distributed transactions have a number of limitations to address. Hard transactions are are found to be fully ACID compliant, while using flexible transactions isolation is not fully guaranteed. In practice, the isolation requirement is waived to some extent to ensure high throughput and system performance. Flexible transactions generally adhere to the Basic Availability, Flexible State, Eventually Consistency (BASE) theory. The BASE theorem is an extension of the CAP theorem. This is the balance between consistency and availability in CAP. According to the BASE theory, we cannot achieve strong consistency, however, each program can achieve ultimate consistency by using an appropriate method according to its own characteristics. CAP shows that a distributed system cannot achieve consistency, availability, and distribution resilience at the same time. It is worth to pay attention at the stage of system design. It was found that hard transactions are strive for persistent consistency, and so they sacrifice high availability. Flexible transactions sacrifice consistency in exchange for high system availability.
微服务架构应用程序中的数据一致性模型
单个数据库事务可以很容易地满足ACID需求并确保强一致性,但是分布式事务有许多限制需要解决。硬事务被发现是完全符合ACID的,而使用灵活的事务隔离并不能完全保证。在实践中,为了保证高吞吐量和系统性能,在一定程度上放弃了隔离要求。灵活事务通常遵循基本可用性、灵活状态、最终一致性(BASE)理论。BASE定理是CAP定理的推广。这就是CAP中一致性和可用性之间的平衡。根据BASE理论,我们无法实现强一致性,但是每个程序可以根据自己的特点采用合适的方法来实现最终一致性。CAP表明分布式系统不能同时实现一致性、可用性和分布弹性。这在系统设计阶段是值得注意的。我们发现硬事务是为了持久的一致性而奋斗的,因此它们牺牲了高可用性。灵活的事务牺牲一致性来换取高系统可用性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信