- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Slides for Chapter 14 Distributed transactions.ppt
Slides for Chapter 14: Distributed transactions From Coulouris, Dollimore and KindbergDistributed Systems: Concepts and Design Edition 4, ? Addison-Wesley 2005 Commitment of dist. trans. - intro A distributed transaction refers to a flat or nested transaction that accesses objects managed by multiple servers Atomicity must still be preserved A process on one of the servers is coordinator, it must ensure the same outcome at all of the servers. The ‘two-phase commit protocol’ is the most commonly used protocol for achieving this Fig 14.1 Distributed transactions Fig. 14.2 Nested banking transaction Fig. 14.3 A dist. banking transaction Fig. 14.4 Ops for 2PC Fig. 14.5 Two-phase commit protocol Fig. 14.5 Two-phase commit protocol Fig. 14.6 Comm in 2PC protocol Summary of 2PC a distributed transaction involves several different servers. A nested transaction structure allows additional concurrency and independent committing by the servers in a distributed transaction. atomicity requires that the servers participating in a distributed transaction either all commit it or all abort it. continued ... Summary of 2PC atomic commit protocols are designed to achieve this effect, even if servers crash during their execution. the 2PC protocol allows a server to abort unilaterally. it includes timeout actions to deal with delays due to servers crashing. 2PC protocol can take an unbounded amount of time to complete but is guaranteed to complete eventually. 14.5 Distributed deadlocks Single server transactions can experience deadlocks prevent or detect and resolve use of timeouts is clumsy, detection is preferable. it uses wait-for graphs. Distributed transactions lead to distributed deadlocks in theory can construct global wait-for graph from local ones a cycle in a global wait-for graph that is not in local ones is a distributed deadlock 14.6 Transaction recovery Atomicity property of transactions durability and failure atomicity durability requires that objects ar
您可能关注的文档
- Linear ProgrammingThe Simplex Method.ppt
- LittleBoard Update & Roadmap.ppt
- LR Parsing.ppt
- main title 32pt-Technology Footprinting and Solid-State Light.ppt
- Managing Brands Across Boundaries and Segments.ppt
- Maori Culture New Zealand.ppt
- Marc Compeau; Wednesday 7142004.ppt
- March 14, 2006.ppt
- Markov Chain and Its Use in Economic Modelling.ppt
- Marriage and Family in China.ppt
- Small Class Teaching in the East Asian Region.ppt
- Social Cognition.ppt
- Social Psychology Lecture 13.ppt
- Software Assurance of Programmable Logic Devices.ppt
- Software Quality Assurance.ppt
- Solubility and Complexation Equilibria.ppt
- Some useful expressions in unit 13.ppt
- SOUTH AFRICAYOUR GATEWAY INTO AFRICA.ppt
- Space Partitions.ppt
- Spacecraft Propulsion.ppt
最近下载
- 医疗器械相关标准-TGBC17-2024 检验检测机构常用化学试剂储存管理规范&TGBC19-2024 检验检测机构危险化学品安全管理规范.pdf VIP
- 铜陵铜化集团招聘考试题目.pdf
- 爱尔兰-性能研究申请.pdf VIP
- 呼吸道感染患者的呼吸护理.pptx VIP
- 物流管理控制程序 (一).pdf VIP
- 医疗器械体系文件- 风险管理控制程序(参考模板)&采购控制程序(参考模板).pdf VIP
- 智能世界2035报告.pdf
- 丹麦-制造商报告医疗器械事故.pdf VIP
- 关于第一类医疗器械备案有关事项的公告.docx VIP
- 2025中盐盐穴综合利用股份有限公司招聘(7人)笔试模拟试题及答案解析.docx VIP
文档评论(0)