青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

隨筆 - 87  文章 - 279  trackbacks - 0
<2006年1月>
25262728293031
1234567
891011121314
15161718192021
22232425262728
2930311234

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 220431
  • 排名 - 118

最新評(píng)論

閱讀排行榜

評(píng)論排行榜

Notes:
*. Time, Clocks and the Ordering of Events in a Distributed System" (1978)
    1. The issue is that in a distributed system you cannot tell if event A happened before event B, unless A caused B in some way. Each observer can see events happen in a different order, except for events that cause each other, ie there is only a partial ordering of events in a distributed system.
    2. Lamport defines the "happens before" relationship and operator, and goes on to give an algorithm that provides a total ordering of events in a distributed system, so that each process sees events in the same order as every other process.
    3. Lamport also introduces the concept of a distributed state machine: start a set of deterministic state machines in the same state and then make sure they process the same messages in the same order.
    4. Each machine is now a replica of the others. The key problem is making each replica agree what is the next message to process: a consensus problem.
    5. However, the system is not fault tolerant; if one process fails that others have to wait for it to recover.

*.  "Notes on Database Operating Systems" (1979).
    1. 2PC problem: Unfortunately 2PC would block if the TM (Transaction Manager) fails at the wrong time.

*.  "NonBlocking Commit Protocols" (1981)
    1. 3PC problem: The problem was coming up with a nice 3PC algorithm, this would only take nearly 25 years!

*. "Impossibility of distributed consensus with one faulty process" (1985)
    1. this famous result is known as the "FLP" result
    2. By this time "consensus" was the name given to the problem of getting a bunch of processors to agree a value.
    3. The kernel of the problem is that you cannot tell the difference between a process that has stopped and one that is running very slowly, making dealing with faults in an asynchronous system almost impossible.
    4. a distributed algorithm has two properties: safety and liveness. 2PC is safe: no bad data is ever written to the databases, but its liveness properties aren't great: if the TM fails at the wrong point the system will block.
    5. The asynchronous case is more general than the synchronous case: an algorithm that works for an asynchronous system will also work for a synchronous system, but not vice versa.

*.  "The Byzantine Generals Problem" (1982)
    1. In this form of the consensus problem the processes can lie, and they can actively try to deceive other processes.

*.  "A Comparison of the Byzantine Agreement Problem and the Transaction Commit Problem." (1987) .
    1. At the time the best consensus algorithm was the Byzantine Generals, but this was too expensive to use for transactions.

*.  "Uniform consensus is harder than consensus" (2000)
    1. With uniform consensus all processes must agree on a value, even the faulty ones - a transaction should only commit if all RMs are prepared to commit.
   
*.  "The Part-Time Parliament" (submitted in 1990, published 1998)
    1. Paxos consensus algorithm
   
*.  "How to Build a Highly Availability System using Consensus" (1996).
    1. This paper provides a good introduction to building fault tolerant systems and Paxos.

*.  "Paxos Made Simple (2001)
    1. The kernel of Paxos is that given a fixed number of processes, any majority of them must have at least one process in common. For example given three processes A, B and C the possible majorities are: AB, AC, or BC. If a decision is made when one majority is present eg AB, then at any time in the future when another majority is available at least one of the processes can remember what the previous majority decided. If the majority is AB then both processes will remember, if AC is present then A will remember and if BC is present then B will remember.
    2. Paxos can tolerate lost messages, delayed messages, repeated messages, and messages delivered out of order.
    3. It will reach consensus if there is a single leader for long enough that the leader can talk to a majority of processes twice. Any process, including leaders, can fail and restart; in fact all processes can fail at the same time, the algorithm is still safe. There can be more than one leader at a time.
    4. Paxos is an asynchronous algorithm; there are no explicit timeouts. However, it only reaches consensus when the system is behaving in a synchronous way, ie messages are delivered in a bounded period of time; otherwise it is safe. There is a pathological case where Paxos will not reach consensus, in accordance to FLP, but this scenario is relatively easy to avoid in practice.

*.   "Consensus in the presence of partial synchrony" (1988)
    1. There are two versions of partial synchronous system: in one processes run at speeds within a known range and messages are delivered in bounded time but the actual values are not known a priori; in the other version the range of speeds of the processes and the upper bound for message deliver are known a priori, but they will only start holding at some unknown time in the future.
    2. The partial synchronous model is a better model for the real world than either the synchronous or asynchronous model; networks function in a predicatable way most of the time, but occasionally go crazy.
   
*.   "Consensus on Transaction Commit" (2005).
    1. A third phase is only required if there is a fault, in accordance to the Skeen result. Given 2n+1 TM replicas Paxos Commit will complete with up to n faulty replicas.
    2. Paxos Commit does not use Paxos to solve the transaction commit problem directly, ie it is not used to solve uniform consensus, rather it is used to make the system fault tolerant.
    3.  Recently there has been some discussion of the CAP conjecture: Consistency, Availability and Partition. The conjecture asserts that you cannot have all three in a distributed system: a system that is consistent, that can have faulty processes and that can handle a network partition.
    4. Now take a Paxos system with three nodes: A, B and C. We can reach consensus if two nodes are working, ie we can have consistency and availability. Now if C becomes partitioned and C is queried, it cannot respond because it cannot communicate with the other nodes; it doesn't know whether it has been partitioned, or if the other two nodes are down, or if the network is being very slow. The other two nodes can carry on, because they can talk to each other and they form a majority. So for the CAP conjecture, Paxos does not handle a partition because C cannot respond to queries. However, we could engineer our way around this. If we are inside a data center we can use two independent networks (Paxos doesn't mind if messages are repeated). If we are on the internet, then we could have our client query all nodes A, B and C, and if C is partitioned the client can query A or B unless it is partitioned in a similar way to C.
    5. a synchronous network, if C is partitioned it can learn that it is partitioned if it does not receive messages in a fixed period of time, and thus can declare itself down to the client.

*.   "Co-Allocation, Fault Tolerance and Grid Computing" (2006).


[REF] http://betathoughts.blogspot.com/2007/06/brief-history-of-consensus-2pc-and.html
posted on 2010-08-12 23:37 閱讀(1663) 評(píng)論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發(fā)表評(píng)論。
網(wǎng)站導(dǎo)航: 博客園   IT新聞   BlogJava   博問   Chat2DB   管理


青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            亚洲人成网站777色婷婷| 中文在线资源观看视频网站免费不卡| 国产私拍一区| 激情校园亚洲| 亚洲黑丝在线| 亚洲天堂免费在线观看视频| 亚洲视频免费观看| 亚洲一区二区高清视频| 午夜精品一区二区在线观看| 久久久久99精品国产片| 免费观看久久久4p| 亚洲精品乱码久久久久久日本蜜臀 | 亚洲电影成人| 99re6这里只有精品| 午夜精品999| 毛片一区二区| 国产精品激情电影| 一区二区在线观看av| 一级成人国产| 玖玖玖国产精品| aa国产精品| 葵司免费一区二区三区四区五区| 欧美日韩亚洲高清| 在线观看成人小视频| 亚洲午夜激情| 亚洲第一网站| 久久超碰97人人做人人爱| 欧美日韩一区二区高清| 在线观看中文字幕亚洲| 亚洲欧美综合另类中字| 91久久线看在观草草青青| 欧美在线三区| 国产精品视频久久| 亚洲人成7777| 久久免费一区| 午夜免费久久久久| 欧美视频三区在线播放| 亚洲国产欧美精品| 中文一区二区| 免费在线亚洲| 亚洲欧美在线免费| 欧美日韩美女在线观看| 在线观看日韩av| 久久久久久噜噜噜久久久精品| 一本色道久久综合亚洲精品不卡| 欧美3dxxxxhd| 亚洲欧洲一区二区在线观看| 久久午夜色播影院免费高清| 亚洲自啪免费| 国产欧美日韩视频在线观看| 亚洲一区欧美激情| 99riav久久精品riav| 欧美激情在线免费观看| 亚洲国产福利在线| 欧美18av| 久久人人97超碰国产公开结果| 国产精品视频yy9099| 欧美一二三区在线观看| 亚洲专区欧美专区| 亚洲欧洲另类国产综合| 老司机久久99久久精品播放免费| 黄色成人免费网站| 葵司免费一区二区三区四区五区| 欧美专区在线| 亚洲电影在线| 亚洲黄色高清| 欧美无砖砖区免费| 欧美一区二区三区四区视频| 欧美一区二区在线看| 在线观看成人av| 91久久久在线| 国产精品久久久久9999吃药| 欧美在线视频观看| 久久久www成人免费精品| 亚洲东热激情| 亚洲日本欧美在线| 国产精品v亚洲精品v日韩精品| 欧美一区二区三区四区在线观看| 久久精彩免费视频| 亚洲免费观看视频| 中文在线一区| 极品裸体白嫩激情啪啪国产精品| 欧美激情区在线播放| 欧美日韩大片| 影音先锋另类| 亚洲高清视频的网址| 欧美日韩一本到| 久久久久国产免费免费| 欧美激情精品久久久六区热门 | 欧美丝袜一区二区三区| 欧美亚洲在线观看| 蜜桃av综合| 欧美一区二区三区在| 免费久久99精品国产自| 午夜免费电影一区在线观看| 久久这里只有精品视频首页| 亚洲毛片av在线| 欧美va日韩va| 香蕉亚洲视频| 欧美www视频| 午夜亚洲福利| 欧美黄色视屏| 免费久久99精品国产自在现线| 欧美日韩精品在线观看| 久久综合综合久久综合| 国产精品jizz在线观看美国| 蜜桃av一区二区在线观看| 国产精品vip| 亚洲国产精品悠悠久久琪琪| 国产在线观看精品一区二区三区| 亚洲精品在线一区二区| 亚洲高清色综合| 欧美一二三区在线观看| 午夜久久福利| 欧美午夜美女看片| 日韩特黄影片| 亚洲三级网站| 最近看过的日韩成人| 国产有码在线一区二区视频| 亚洲视频你懂的| 一本不卡影院| 欧美日本不卡高清| 亚洲国产另类久久精品| **网站欧美大片在线观看| 欧美一区二区免费视频| 午夜日本精品| 国产精品一区二区久久久久| 亚洲午夜伦理| 香蕉成人久久| 国产精品免费久久久久久| 亚洲午夜一区| 欧美在线观看一区二区三区| 国产精品午夜电影| 午夜视频久久久| 久久九九99视频| 一区精品在线播放| 麻豆成人在线观看| 欧美激情视频一区二区三区在线播放| 永久域名在线精品| 久热成人在线视频| 亚洲高清网站| 日韩午夜激情av| 欧美日韩国产一区精品一区| 999在线观看精品免费不卡网站| 一区二区三区四区国产| 国产精品久久77777| 亚洲影院在线观看| 久久夜色精品国产| 亚洲精品综合| 国产精品一区二区欧美| 久久免费少妇高潮久久精品99| 欧美黄色免费| 亚洲欧美在线免费观看| 韩国欧美一区| 欧美精品久久久久久久| 日韩视频亚洲视频| 欧美亚洲日本网站| 在线免费观看日本一区| 欧美高清在线一区| 亚洲天堂黄色| 裸体一区二区三区| 一区二区三区视频观看| 国产亚洲a∨片在线观看| 久久久噜噜噜久久人人看| 亚洲欧洲综合另类| 性久久久久久久久| 午夜国产精品视频免费体验区| 极品中文字幕一区| 欧美高清hd18日本| 亚洲小说欧美另类社区| 久久婷婷综合激情| 中文精品视频| 尤物九九久久国产精品的特点| 欧美精品在线视频观看| 久久精品国产99| 国产精品99久久久久久人 | 亚洲青色在线| 欧美一区久久| 日韩视频在线一区二区| 国产一区91| 欧美视频在线视频| 嫩草成人www欧美| 亚洲一卡二卡三卡四卡五卡| 欧美成人精品h版在线观看| 亚洲欧美国产不卡| 亚洲精品日韩在线| 国产一区二区三区精品欧美日韩一区二区三区| 米奇777在线欧美播放| 午夜日韩在线| 亚洲天堂男人| 亚洲乱码视频| 欧美国产极速在线| 久久久www成人免费精品| 午夜激情综合网| 这里只有精品视频在线| 亚洲欧洲日产国产综合网| 伊人久久亚洲影院| 国产自产v一区二区三区c| 国产精品久久久久久久久久三级 | 亚洲福利国产精品|