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.
Group Communication
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
- 文/潘曉璐 我一進店門一疯,熙熙樓的掌柜王于貴愁眉苦臉地迎上來撼玄,“玉大人,你說我怎么就攤上這事墩邀≌泼停” “怎么了?”我有些...
- 文/不壞的土叔 我叫張陵眉睹,是天一觀的道長荔茬。 經(jīng)常有香客問我,道長竹海,這世上最難降的妖魔是什么慕蔚? 我笑而不...
- 正文 為了忘掉前任,我火速辦了婚禮斋配,結(jié)果婚禮上孔飒,老公的妹妹穿的比我還像新娘。我一直安慰自己艰争,他們只是感情好坏瞄,可當(dāng)我...
- 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著园细,像睡著了一般惦积。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上猛频,一...
- 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼痢法!你這毒婦竟也來了狱窘?” 一聲冷哼從身側(cè)響起,我...
- 正文 年R本政府宣布毁习,位于F島的核電站铲咨,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏蜓洪。R本人自食惡果不足惜纤勒,卻給世界環(huán)境...
- 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望隆檀。 院中可真熱鬧摇天,春花似錦、人聲如沸恐仑。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽裳仆。三九已至腕让,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間歧斟,已是汗流浹背纯丸。 一陣腳步聲響...
推薦閱讀更多精彩內(nèi)容
- 今天在鏈接遠程數(shù)據(jù)庫(我的遠程數(shù)據(jù)庫是mysql5.7的)時報了一個“[Err] 1055 - Expressio...
- dispatch_group_t group = dispatch_group_create();dispatch...
- group by是關(guān)系型數(shù)據(jù)庫中較為常用的方法捐康,rails也提供了類似的group_by方法仇矾,但兩者還是有不小區(qū)別...
- 一直對dispatch_group_enter(group)、dispatch_group_leave(group...
- android:id ID標(biāo)識android:checkableBehavior none不可勾選解总,a...