Group Communication

The following are the three main types or orderings that have been studied in the context
of ordered multicasts:

    1. Local order multicast (also called single-source FIFO)
    2. Causal order multicast
    3. Total order multicast

Local order multicast: In local order multicast, if a process multicasts two messages in the
order (m1, m2), then every correct process in the group must deliver m1 before m2. There
are many applications of local order multicast: One is in the implementation of a DSM
where the primary copy of each variable is maintained by an exclusive process, and all
other processes use cached copies of it. Whenever the primary copy is updated, the owner
of the primary copy multicasts the updates to the holders of the cached copies, and these
copies are updated in the same order. Other applications include video distribution and
software distribution.

Causal order multicast: Let m1 and m2 be a pair of messages in a group, such that
sent(m1) ? sent(m2). Then causal order multicast requires that every process in the system
must deliver m1 before m2. Local order multicast trivially satisfies this. Causal order multicast
modifies it by imposing delivery orders among causally ordered messages from distinct senders too. Here is an example: A group of students scattered across a large campus are preparing for an upcoming quiz through a shared bulletin board. Someone comes up with a question and throws it to the entire group, and whoever knows the answer multicasts
it to the entire group. The delivery of a question to each student must happen before
the delivery of the corresponding answer, since these are causally related. It will be awkward
(and a violation of the rules of causal ordered multicast) if some student receives the
answer first and then the corresponding question!

Total order multicast: In total order atomic multicast, every member of the group is required
to deliver all messages sent within the group in identical order. It implies that if every process
i maintains a queue Q · i (initially empty) to which a message is appended as soon as it
is delivered, then eventually, for any two distinct processes i and j, Q . i = Q . j. Note that the
order in which the messages are delivered has no connection with the real time at which
these messages were sent out.

MySQL used Total Order multicast for group communication of group replication.

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末盹舞,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌缝彬,老刑警劉巖,帶你破解...
    沈念sama閱讀 221,198評論 6 514
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件哺眯,死亡現(xiàn)場離奇詭異谷浅,居然都是意外死亡,警方通過查閱死者的電腦和手機,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,334評論 3 398
  • 文/潘曉璐 我一進店門一疯,熙熙樓的掌柜王于貴愁眉苦臉地迎上來撼玄,“玉大人,你說我怎么就攤上這事墩邀≌泼停” “怎么了?”我有些...
    開封第一講書人閱讀 167,643評論 0 360
  • 文/不壞的土叔 我叫張陵眉睹,是天一觀的道長荔茬。 經(jīng)常有香客問我,道長竹海,這世上最難降的妖魔是什么慕蔚? 我笑而不...
    開封第一講書人閱讀 59,495評論 1 296
  • 正文 為了忘掉前任,我火速辦了婚禮斋配,結(jié)果婚禮上孔飒,老公的妹妹穿的比我還像新娘。我一直安慰自己艰争,他們只是感情好坏瞄,可當(dāng)我...
    茶點故事閱讀 68,502評論 6 397
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著园细,像睡著了一般惦积。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上猛频,一...
    開封第一講書人閱讀 52,156評論 1 308
  • 那天狮崩,我揣著相機與錄音,去河邊找鬼鹿寻。 笑死睦柴,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的毡熏。 我是一名探鬼主播坦敌,決...
    沈念sama閱讀 40,743評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼痢法!你這毒婦竟也來了狱窘?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,659評論 0 276
  • 序言:老撾萬榮一對情侶失蹤财搁,失蹤者是張志新(化名)和其女友劉穎蘸炸,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體尖奔,經(jīng)...
    沈念sama閱讀 46,200評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡搭儒,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,282評論 3 340
  • 正文 我和宋清朗相戀三年穷当,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片淹禾。...
    茶點故事閱讀 40,424評論 1 352
  • 序言:一個原本活蹦亂跳的男人離奇死亡馁菜,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出铃岔,到底是詐尸還是另有隱情汪疮,我是刑警寧澤,帶...
    沈念sama閱讀 36,107評論 5 349
  • 正文 年R本政府宣布毁习,位于F島的核電站铲咨,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏蜓洪。R本人自食惡果不足惜纤勒,卻給世界環(huán)境...
    茶點故事閱讀 41,789評論 3 333
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望隆檀。 院中可真熱鬧摇天,春花似錦、人聲如沸恐仑。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,264評論 0 23
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽裳仆。三九已至腕让,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間歧斟,已是汗流浹背纯丸。 一陣腳步聲響...
    開封第一講書人閱讀 33,390評論 1 271
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留静袖,地道東北人觉鼻。 一個月前我還...
    沈念sama閱讀 48,798評論 3 376
  • 正文 我出身青樓,卻偏偏與公主長得像队橙,于是被迫代替她去往敵國和親坠陈。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,435評論 2 359

推薦閱讀更多精彩內(nèi)容