Distributed computing


ROAD MAP: TIME ACCORDING TO LAMPORT



Download 0,86 Mb.
bet9/38
Sana24.04.2022
Hajmi0,86 Mb.
#578449
1   ...   5   6   7   8   9   10   11   12   ...   38
Bog'liq
distcomp

ROAD MAP: TIME ACCORDING TO LAMPORT

  • How to model time
  • in distributed systems
  • Languages & Constructs for Synchronization

TIME

  • Assuming there are no failures, the most important difference between distributed systems and centralized ones is that distributed systems have no natural notion of global time.
    • Lamport was the first who built a theory around accepting this fact.
    • That theory has proven to be surprisingly useful, since the partial order that Lamport proposed is enough for many applications.

WHAT LAMPORT DOES

  • Paper (reference on next slide) describes a message-based criterion for obtaining a time partial order.
  • 2. It converts this time partial order to a total order.
  • 3. It uses the total order to solve the mutual exclusion problem.
  • 4. It describes a stronger notion of physical time and gives an algorithm that sometimes achieves it (depending on quality of local clocks and message delivery).

NOTIONS OF TIME IN DISTRIBUTED SYSTEMS

    • Distributed system consists of a collection of distinct processes, which are spatially separated. (Each process has a unique identifier.)
    • Communicate by exchanging messages.
    • Messages arrive in the order they are sent. (Could be achieved by hand-shaking protocol.)
    • Consequence: Time is partial order in distributed systems. Some events may not be ordered.
  • Lamport, L. “Times, Clocks, and the Ordering of Events in a Distributed System,” Communications of the ACM, vol. 21, no. 7 (July 1978).

THE ARROW (partial order) RELATION

  • We say A happens before B or A  B, if:
  • 1. A and B are in the same process and A happens before B in that process (Assume processes are sequential.)
  • 2. A is the sending of a message at one process and B is the receiving of that message at another process, then A  B.
  • 3. There is a C such that A  C and C  B.
  • In the jargon,  is an irreflexive partial ordering.

Download 0,86 Mb.

Do'stlaringiz bilan baham:
1   ...   5   6   7   8   9   10   11   12   ...   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