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

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

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 220431
  • 排名 - 118

最新評論

閱讀排行榜

評論排行榜

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) 評論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發(fā)表評論。
網(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>
            亚洲国产精品成人久久综合一区| 亚洲乱码国产乱码精品精可以看 | 亚洲视频狠狠| 亚洲国产高清在线| 亚洲激情一区| 一本大道久久a久久综合婷婷| 亚洲精品乱码久久久久| 一区二区免费看| 亚洲欧美一区二区精品久久久| 亚洲欧美日韩一区二区| 久久精品一区二区三区中文字幕| 久久精品亚洲一区二区| 欧美成人午夜激情视频| 亚洲久久成人| 欧美一区二区黄色| 你懂的亚洲视频| 欧美性事在线| 一区二区在线看| 中日韩在线视频| 久久精品91久久久久久再现| 欧美高清视频在线播放| aa级大片欧美三级| 久久精品在线免费观看| 欧美日韩视频在线观看一区二区三区| 国产精品天美传媒入口| 91久久精品美女高潮| 亚洲一区二区在线视频| 免费在线亚洲| 亚洲午夜视频| 欧美成年视频| 国产中文一区| 亚洲欧美卡通另类91av| 免费日韩成人| 亚洲女人天堂av| 欧美激情中文不卡| 极品少妇一区二区三区精品视频| 亚洲视频1区2区| 欧美激情亚洲视频| 久久精品1区| 国产精品美女主播| 99精品欧美一区二区三区综合在线| 亚洲欧美中日韩| 狠狠综合久久av一区二区小说| 中文国产一区| 91久久精品一区| 久久久www成人免费精品| 国产精品美女久久久久aⅴ国产馆| 亚洲黄一区二区| 欧美jjzz| 老司机aⅴ在线精品导航| 国产婷婷色一区二区三区四区| 一区二区三区视频在线观看 | 99热在这里有精品免费| 久久夜精品va视频免费观看| 国产欧美日韩精品在线| 亚洲欧美日产图| 一区二区三区不卡视频在线观看| 欧美v日韩v国产v| 亚洲电影免费在线 | aaa亚洲精品一二三区| 欧美成年视频| 99xxxx成人网| 亚洲日韩视频| 欧美日韩日本视频| 亚洲午夜久久久| 在线亚洲美日韩| 欧美视频一区二区三区四区| 在线中文字幕一区| 一区二区三区高清在线| 国产精品va在线播放我和闺蜜| 亚洲视频免费在线| 一区二区三区精品久久久| 国产精品久久综合| 久久精品99无色码中文字幕 | 欧美喷潮久久久xxxxx| 亚洲精品乱码久久久久久| 91久久黄色| 国产精品ⅴa在线观看h| 亚洲欧美中文另类| 久久se精品一区精品二区| 伊人久久大香线蕉综合热线| 欧美激情a∨在线视频播放| 蜜臀久久99精品久久久画质超高清| 亚洲国产欧美一区二区三区同亚洲| 亚洲电影在线看| 国产精品多人| 久久精品中文| 欧美不卡三区| 午夜精品久久久久久| 久久精品女人天堂| 一区二区欧美日韩| 午夜精品免费视频| 亚洲激情在线视频| 亚洲男女自偷自拍| 亚洲第一色中文字幕| 亚洲乱码国产乱码精品精可以看 | 欧美日本高清| 欧美伊人久久大香线蕉综合69| 久久免费黄色| 亚洲小视频在线观看| 久久久精品国产免费观看同学| 亚洲精品色图| 久久aⅴ国产欧美74aaa| 一区二区精品在线| 久久乐国产精品| 亚洲欧美日本国产有色| 麻豆精品91| 久久国产精品久久国产精品| 免费中文字幕日韩欧美| 欧美在线电影| 欧美视频在线观看 亚洲欧| 久久人人九九| 国产精品国产三级国产普通话蜜臀| 欧美刺激午夜性久久久久久久| 国产精品99一区二区| 亚洲国产91| 激情欧美日韩一区| 亚洲欧美国产日韩中文字幕| 日韩天天综合| 美脚丝袜一区二区三区在线观看 | 欧美+日本+国产+在线a∨观看| 国产精品久久久久aaaa| 亚洲国产精品日韩| 在线观看亚洲视频啊啊啊啊| 亚洲免费人成在线视频观看| 在线天堂一区av电影| 老牛影视一区二区三区| 久久在线91| 国产自产高清不卡| 亚洲欧美一区二区三区在线| 亚洲午夜av| 欧美色图一区二区三区| 亚洲欧洲在线观看| 亚洲乱码精品一二三四区日韩在线| 久久久久久电影| 噜噜噜噜噜久久久久久91| 国产主播一区| 久久午夜电影网| 米奇777在线欧美播放| 在线成人av.com| 久久婷婷av| 亚洲国产成人av| 日韩视频免费观看| 欧美日韩一区二| 在线视频你懂得一区二区三区| 亚洲一区二区三区在线观看视频 | 亚洲精品免费在线观看| 99国产精品久久久久老师| 欧美激情网友自拍| 亚洲精品日韩一| 亚洲视频精品在线| 国产精品久久久久久av福利软件| 一级日韩一区在线观看| 亚洲欧美中文另类| 黄色成人在线网站| 欧美wwwwww| 亚洲美女黄色| 国产精品腿扒开做爽爽爽挤奶网站 | 国产精品青草综合久久久久99 | 亚洲综合首页| 午夜国产精品视频免费体验区| 欧美成人午夜影院| 久久女同精品一区二区| 狠狠综合久久av一区二区小说 | 国产精品久久久久久超碰| 亚洲色图综合久久| 久久久精品视频成人| 亚洲第一页在线| 欧美日韩高清区| 午夜精品一区二区三区电影天堂| 久色婷婷小香蕉久久| 99精品国产福利在线观看免费| 国产精品久久久一区麻豆最新章节| 午夜精品视频在线观看| 欧美fxxxxxx另类| 一区二区欧美国产| 国产一区二区三区的电影| 欧美/亚洲一区| 亚洲欧美中文另类| 亚洲成色777777在线观看影院| 亚洲一级在线| 亚洲国产一区二区在线| 国产精品久久久亚洲一区| 久久一区亚洲| 在线性视频日韩欧美| 欧美高清视频一区二区| 欧美在线播放一区二区| 99视频+国产日韩欧美| 精品二区久久| 国产精品久久久久久久久久三级| 久久久精品国产一区二区三区| 日韩视频一区二区三区| 另类亚洲自拍| 欧美一区二区三区四区高清 | 蜜臀va亚洲va欧美va天堂| 亚洲自拍都市欧美小说| 亚洲日本欧美| 欧美激情在线有限公司| 久久综合狠狠综合久久综合88| 亚洲欧美国产视频|