historical perspective
play

Historical perspective From sequential computing to distributed - PowerPoint PPT Presentation

Never forget .... Distributed Universal Constructions a guided tour Michel R AYNAL Institut Universitaire de France Academia Europaea IRISA, Universit e de Rennes, France Polytechnic University (PolyU), Hong Kong Distributed Universal


  1. Never forget .... Distributed Universal Constructions a guided tour Michel R AYNAL Institut Universitaire de France Academia Europaea IRISA, Universit´ e de Rennes, France Polytechnic University (PolyU), Hong Kong Distributed Universal Constructions 1 Distributed Universal Constructions 2 Content PART 1 • Short historical perspective and a point of view Historical perspective • From sequential computing to distributed computing and ... • Distributed universal constructions a point of view on what is • Conclusion INFORMATICS Distributed Universal Constructions 3 Distributed Universal Constructions 4

  2. One upon a time... Plimpton tablet 322 (1800 BC) From the very beginning (?) 15 lines Pythagorean triplets ( a 2 + b 2 = c 2 ) mankind is Base sexagesimal base Looking for UNIVERSALITY! Algorithms seem to be born with writing... (only receipts at this time, no formalization, no proofs) Distributed Universal Constructions 5 Distributed Universal Constructions 6 a few historical references A little bit later... • Neugebauer O. E., The exact sciences in Antiquity Princeton University Press (1952); 2nd edition: Brown A great step ahead! University Press (1957), Reprint: Dover publications Axioms: Euclid ( ≃ 300 BC) (1969) • Kramer S. N., “Ruler + compass” constructions History begins at Sumer: thirty-nine firsts in man’s recorded history “Ruler + compass” define the University of Pennsylvania Press, 416 pages (1956) set of allowed operations We have: algorithms + proofs • Donald Knuth Ancient Babylonian Algorithms Communications of the ACM, 15(7):671-677 (1972) Distributed Universal Constructions 7 Distributed Universal Constructions 8

  3. Example: Bissecting an angle with compass + ruler BTW: what about trisecting an angle? B r 1 • Is it possible to trisect an angle with a compass + ruler? A A • One of the hardest pb for Ancient Greeks (squaring the circle) r 1 C • Answer : impossibility proved in 1837 by Wantzel P. L.: Recherches sur les moyens de reconna ˆ ıtre si un probl` eme B B de g´ eom´ etrie peut se r´ esoudre avec la r` egle et le com- pas, Journal de math´ ematiques pures et appliqu´ ees , r 2 r 2 r 1 1(2):366-372 (1837) A A D r 1 r 2 r 2 Plus the fact that π is a transcendent number (F. von Lindemann 1882) C C • Hence ruler+ compass operations are not universal for geometric constructions! Proof: consists in showing that the triangles ABD and ACD are equal Distributed Universal Constructions 9 Distributed Universal Constructions 10 Still a little bit later... A few references M. Ibn Musa Al Khawarizmi - Kitabu al-mukhtasar fi hisabi al-jabr wa’l-muqabala 780, Khiva - 850, Bagdad - Kitabu al-jami‘ wa ’t-tafriq bi- hisabi ’l-Hind Contributed to algebra ... (the book of addition and substrac- tion from Indian calculus) but gave its name to algorithms! Distributed Universal Constructions 11 Distributed Universal Constructions 12

  4. Closer to us Two great colleagues! 1936 1912-1954 - Turing A. M., On computable numbers with an applica- tion to the Entscheidungsproblem. Proc. of the London 1903-1995 1897-1954 Mathematical Society , 42:230-265 (1936) Distributed Universal Constructions 13 Distributed Universal Constructions 14 ALGORITHMICS A unifying view The science of operations Loking for universality! applications DIGITAL WORLD • Founding result: INFORMATICS Languages ⋆ FSA ⊂ Pushdown Automata ⊂ Turing Machines Systems ⋆ Machines to process SYMBOLS Artificial Int. Data bases ALGORITHMICS • Church-Turing Thesis: universal machines Computers Etc. • Universality of data representation : s´ equences de bits (books, images, files, etc.) A very nice book by Harel D. and Feldman Y.: Algorithmics: the spirit of computing. 3rd edition Springer, 572 pagers (2012) [First edition: 1992] Distributed Universal Constructions 15 Distributed Universal Constructions 16

  5. About informatics (1) About informatics (2) • Main resources: ⋆ up to mid of XX-th century: matter/energy • Produces a “new” way of thinking (algorithmics-based) ⋆ from mid of XX-th century: information • From putting the world into equations ⋆ as matter/energy: information can be collected, con- to putting the world into algorithms sumed, transformed, stored, carried, etc. ⋆ differentlty from matter/energy: it does not burn, it • Informatics is the language of science! can be copied at “zero cost” • Looking for universality (just repeating...) Distributed Universal Constructions 17 Distributed Universal Constructions 18 PART 2 The basic unit of sequential computing out = f ( in ) in f () • The notion of a function From sequential computing • Sequential algorithm • The notion of computability (Turing machine) to distributed computing • The notion of impossibility (e.g., halting problem) • The fundamental hierarchy FSA ⊂ Pushdown Automata ⊂ Turing Machines • Church-Turing’s Thesis Distributed Universal Constructions 19 Distributed Universal Constructions 20

  6. The case of parallel computing What is distributed computing? • We look inside the box implementing f () ⋆ mono-processor DC arises when one has to solve a problem in terms of ⋆ multiprocessor : to be more efficient entities (processes, agents, sensors, peers, actors, nodes, processors, ...) such that each entity has only a partial • The problem could be solved by a sequnetial algorithm, knowledge of the many parameters involved in the problem but can be solved more efficiently with several comput- that has to be solved ing entities • Parallel computing is an “extension” of sequential com- puting looking for efficiency DC is about Mastering UNCERTAINTY • This has a long story and introduced new techniques and concepts (e.g., task graphs, scheduling, etc.) Distributed Universal Constructions 21 Distributed Universal Constructions 22 The basic unit of distributed computing The notion of a (distributed) task T () • A task T is a triple ( I , O , ∆) Output O ∈ T ( I ) [ out 1 , · · · , out n ] Input I ⋆ I : set of input vectors (of size n ) [ in 1 , · · · , in n ] p i in i out i ⋆ O : set of output vectors (of size n ) ⋆ ∆: relation from I into O : ∀ I ∈ I : ∆( I ) ⊆ O T () is a relation • I [ i ]: private input of p i • O [ i ]: private output of p i • The notion of a task: from an input vector to an output • ∀ I ∈ I : • The inputs are DISTRIBUTED ∆( I ) defines the set of legal output vectors that can (this is not under the control of the algorithm designer) be decided from the input vector I • Failures belong to the model (in nearly all cases) Distributed Universal Constructions 23 Distributed Universal Constructions 24

  7. Examples of tasks Solving a task A distributed algorithm A is a set of n local automata • Binary consensus (Turing machines) that cooperate through specific com- munication objects (e.g., message-passing network, shared ⋆ I = { all vectors of 0 and 1 } memory, etc.) � � ⋆ O = { 0 , . . . , 0 } , { 1 , . . . , 1 } ⋆ Let X 0 = { 0 , . . . , 0 } and X 0 = { 1 , . . . , 1 } An algorithm A solves a task T if in any run ∗ ∆( X 0 ) = { 0 , . . . , 0 } and ∆( X 1 ) = { 1 , . . . , 1 } ∗ ∆(any vector except X O , X 1 ) = O • ∃ I ∈ I such that each p i starts with (proposes) in i = I [ i ] • k -set agreement, Renaming, Weak symmetry breaking • ∃ O ∈ ∆( I ) such that O [ j ] = out j for each process p j • k -Simultaneous consensus, etc. that that computes (decides) an output out j Distributed Universal Constructions 25 Distributed Universal Constructions 26 Distributed computing: birth certificates A famous quote ... and its formalization • L. Lamport, Time, clocks, and the ordering of events in a distributed system. Communications of the ACM , 21(7):558-565 (1978) • “A distributed system is one in which the failure of a computer you didn’t even know existed can render your own computer unusable” (L. Lamport) ⋆ Partial order on events ⋆ Scalar clocks • Fischer M.J., Lynch N.A., and Paterson M.S., ⋆ State machine replication Impossibility of distributed consensus with one faulty process. Journal of the ACM , 32(2):374-382 (1985) • Fischer M.J., Lynch N.A., and Paterson M.S., Impossi- bility of distributed consensus with one faulty process. Journal of the ACM , 32(2):374-382 (1985) ⋆ Impossibilty result in asynch. crash-prone systems Reminder: DC is about Mastering UNCERTAINTY! ⋆ Notion of valence (captures non-determinism) Distributed Universal Constructions 27 Distributed Universal Constructions 28

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend