Systems Research.ppt
《Systems Research.ppt》由会员分享,可在线阅读,更多相关《Systems Research.ppt(39页珍藏版)》请在麦多课文档分享上搜索。
1、Systems Research,Barbara Liskov October 2007,Replication,Goal: provide reliability and availability by storing information at several nodes,Single Server,Server,Clients,Single Server,Server,Clients,X,Replicated Servers,Servers,Clients,X,Replication Issues,Semantics What is being replicated Failure a
2、ssumptions,Issue 1: Semantics,One-copy consistency Or weaker,Servers,Clients,Issue 2: Type of Operations,Only reads and writes General operationsacct.deposit($); acct.withdraw($);,Replication protocols,Data replication Quorums and voting Operations State machine replication System performs a sequenc
3、e of operations,Issue 3: Failure Assumptions,Network is asynchronous Eventual delivery Network is malicious Corruption Replay Spoofing Handled via cryptographyNodes are failstop or Byzantine,Failstop Failures,Nodes fail by crashing A machine is either working correctly or it is doing nothing!The ass
4、umption made in the 1980s,Failstop failures,Requires 2f+1 replicas Operations must intersect at at least one replica In general want availability for both reads and writes: f+1 nodes is sufficient Read and write quorums,Quorums,Servers,Clients,State:,State:,State:,write A,write A,write A,X,Quorums,S
5、ervers,Clients,State:,State:,State:,A,A,X,Quorums,Servers,Clients,State:,State:,A,write B,write B,write B,X,State:,A,X,Data Replication,R.H. Thomas, A majority consensus approach to concurrency control for multiple copy databases, ACM TODS, 1979 D.K. Gifford, Weighted voting for replicated data, SOS
6、P 1979 H. Attiya, A. Bar-Noy, and D. Dolev, Sharing memory robustly in message-passing systems, JACM , Jan. 1995,Quorum Consensus,Each data item has a version number A sequence of values write(d, val, v#) Waits for f+1 oks read(d) returns (val, v#) Waits for f+1 matching v#s Else does a write-back,S
7、tate Machine Replication,Replicas must execute operations in the same orderImplies replicas will have the same state, assuming replicas start in the same state operations are deterministic,Failstop Replication,Viewstamped replication: a new primary copy method to support highly available distributed
8、 systems, B. Oki and B. Liskov, PODC 1988 Thesis, May 1988 Replication in the Harp file system, S. Ghemawat et. al, SOSP 1991 The part-time parliament, L. Lamport, TOCS 1998 Paxos made simple, L. Lamport, Nov. 2001,Approach,Use a primary It orders the operations Other replicas obey this order,Views,
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SYSTEMSRESEARCHPPT
