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

隨筆 - 87  文章 - 279  trackbacks - 0
<2025年12月>
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

潛心看書研究!

常用鏈接

留言簿(19)

隨筆分類(81)

文章分類(89)

相冊

ACM OJ

My friends

搜索

  •  

積分與排名

  • 積分 - 221033
  • 排名 - 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 閱讀(1665) 評論(0)  編輯 收藏 引用

只有注冊用戶登錄后才能發表評論。
網站導航: 博客園   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>
            亚洲女同精品视频| 老司机午夜精品| 亚洲美女在线观看| 欧美日韩高清在线观看| 亚洲欧美电影院| 亚洲一区二区欧美日韩| 国产麻豆精品视频| 久久久999国产| 麻豆国产精品777777在线| 亚洲精品久久在线| 在线视频精品一区| 极品少妇一区二区| 亚洲精品美女免费| 国产亚洲精品福利| 欧美激情精品久久久久久大尺度| 欧美激情一区二区三区不卡| 亚洲午夜视频在线观看| 午夜视频在线观看一区| 最新国产拍偷乱拍精品| av成人老司机| 在线播放不卡| 亚洲午夜在线观看视频在线| 狠狠综合久久| 国产精品99久久久久久白浆小说 | 久久精品一区二区三区四区| 亚洲第一区在线观看| 亚洲麻豆国产自偷在线| 国产亚洲欧美日韩精品| 91久久精品国产| 国产伊人精品| 在线一区二区三区四区五区| 亚洲高清视频在线| 亚洲午夜一区二区三区| 亚洲区一区二| 久久精品人人做人人爽| 亚洲自拍偷拍网址| 欧美成人首页| 久久一区二区三区国产精品 | 久久夜精品va视频免费观看| 亚洲尤物在线| 欧美大秀在线观看| 久久国产精品亚洲77777| 欧美日韩在线高清| 美女黄色成人网| 国产亚洲精品美女| 亚洲视频网在线直播| 亚洲欧洲在线观看| 久久久久久亚洲精品杨幂换脸 | 亚洲天堂av在线免费观看| 久久夜色精品国产欧美乱极品 | 亚洲乱码久久| 麻豆91精品91久久久的内涵| 久久久福利视频| 国产精品影片在线观看| 一二三四社区欧美黄| 99精品视频一区| 欧美成人免费在线视频| 欧美福利精品| 亚洲国产精品激情在线观看| 久久激情一区| 麻豆精品一区二区av白丝在线| 国产精品一级久久久| 亚洲午夜激情网页| 欧美一级久久久| 国产精品一二| 午夜视频一区在线观看| 欧美一区二区视频在线观看| 国产精品美女午夜av| 亚洲自拍啪啪| 久久久国产成人精品| 国产亚洲一区二区三区在线观看| 性色av一区二区三区在线观看 | 美女999久久久精品视频| 激情五月综合色婷婷一区二区| 久久精品亚洲国产奇米99| 另类天堂av| 亚洲人成毛片在线播放女女| 蘑菇福利视频一区播放| 亚洲精品一区二区三区蜜桃久| 一本色道久久综合精品竹菊| 欧美日韩国产小视频在线观看| 一区二区三区产品免费精品久久75 | 国产精品久久久久久久app| 亚洲伊人一本大道中文字幕| 久久精品国产免费| 亚洲欧洲在线一区| 欧美视频国产精品| 久久av一区二区三区亚洲| 欧美激情国产日韩| 亚洲制服丝袜在线| 一区视频在线看| 欧美精品一卡| 欧美亚洲视频在线观看| 蘑菇福利视频一区播放| 亚洲一区二区三区激情| 国精品一区二区| 欧美理论电影在线观看| 亚洲视频观看| 欧美成人一区在线| 亚洲免费一级电影| 亚洲国内精品在线| 国产精品国产自产拍高清av| 久久激情综合| 亚洲无线一线二线三线区别av| 久久婷婷久久| 亚洲综合第一| 亚洲精品日韩精品| 国产亚洲成精品久久| 欧美精品在线极品| 久久久久久尹人网香蕉| 亚洲手机在线| 亚洲美女网站| 欧美高清在线一区二区| 久久精品亚洲精品| 亚洲一卡久久| 亚洲国产日韩欧美在线99| 国产精品一级久久久| 欧美精品七区| 久久综合婷婷| 久久久久久91香蕉国产| 在线综合亚洲欧美在线视频| 欧美激情女人20p| 久久性色av| 久久国产精品久久久久久| 欧美激情国产高清| 国产精品久久久久久久久动漫| 亚洲综合日韩在线| 在线一区亚洲| 亚洲精品久久久久久久久久久久久| 国产精品视频免费| 欧美三级资源在线| 欧美精品一区二区在线观看| 久久手机精品视频| 欧美一级午夜免费电影| 亚洲一区二区三区中文字幕在线| 亚洲毛片网站| 999亚洲国产精| 日韩视频一区二区三区在线播放免费观看| 久久综合九色| 免费观看成人网| 欧美 亚欧 日韩视频在线| 久久蜜桃精品| 欧美bbbxxxxx| 欧美大片免费观看在线观看网站推荐 | 亚洲午夜久久久| 一区二区三区国产精华| 中日韩高清电影网| 在线一区二区三区做爰视频网站| 夜夜嗨av色一区二区不卡| 日韩视频中午一区| 宅男噜噜噜66一区二区| 亚洲视频每日更新| 午夜亚洲视频| 久久精品视频一| 女同一区二区| 欧美日韩视频一区二区三区| 欧美性猛交xxxx乱大交退制版| 国产精品久久久久久久7电影| 国产精品素人视频| 国产一区视频网站| 亚洲国产综合在线| 亚洲视频碰碰| 久久米奇亚洲| 亚洲激情婷婷| 亚洲自拍偷拍福利| 久久久久久成人| 欧美人与性动交cc0o| 国产精品户外野外| 激情成人av| 洋洋av久久久久久久一区| 亚洲欧美日本国产专区一区| 久久久91精品| 亚洲日本理论电影| 欧美亚洲色图校园春色| 免费日韩一区二区| 国产精品免费看片| 亚洲国产二区| 亚洲女性喷水在线观看一区| 久久夜色精品亚洲噜噜国产mv| 欧美激情乱人伦| 亚洲欧美日本国产专区一区| 久久免费精品视频| 国产精品久久久久久影视 | 国产亚洲人成网站在线观看| 亚洲国产精品激情在线观看| 亚洲与欧洲av电影| 免费成人av| 亚洲在线视频观看| 欧美激情久久久久| 国产一区二区久久久| 亚洲视频在线看| 欧美激情视频给我| 欧美在线观看视频一区二区三区| 欧美人妖在线观看| 亚洲国产精品福利| 久久精品日韩欧美| 亚洲一区免费视频| 欧美日韩国产专区| 最新精品在线| 免费成人高清视频|