Distributed computing


SKEEN’S ORDERED BROADCAST PROTOCOL (cont.)



Download 0,86 Mb.
bet19/38
Sana24.04.2022
Hajmi0,86 Mb.
#578449
1   ...   15   16   17   18   19   20   21   22   ...   38
Bog'liq
distcomp

SKEEN’S ORDERED BROADCAST PROTOCOL (cont.)

  • Take max. (e.g., 29)
  • Receivers
  • Final timestamp

CORRECTNESS

  • Theorem: m and m’ will be accepted in same order at all common sites.
  • Proof steps:
      • Every two final timestamps will be different.
      • If TS(m)

Is the protocol overly complex?

  • Find an example showing that changing the Skeen protocol in any one of the following ways would yield an incorrect protocol.
    • The timestamps at different sites could be the same.
    • The initiator chooses the minimum (instead of the maximum) proposed timestamp as the final timestamp.
    • Sites accept messages as soon as they become deliverable.

ROAD MAP: COMMIT PROTOCOLS

  • All-or-nothing commitment of transactions.
  • Avoid partial updates.
  • Fail-stop failures.

THE NEED

  • Scenario: Transaction manager (representing user) communicates with several database servers.
  • Main problem is to make the commit atomic (i.e., either all sites commit the transaction or none do).

NAÏVE (INCORRECT) ALGORITHM

  • TM
  • Servers
  • TM
  • Commit
  • Done
  • INVENTORY INCREMENTED
  • CASH NOT DECREMENTED
  • Commit
  • No!

Download 0,86 Mb.

Do'stlaringiz bilan baham:
1   ...   15   16   17   18   19   20   21   22   ...   38




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish