synchrony weakened by message adversaries vs asynchrony
play

Synchrony Weakened by Message Adversaries vs Asynchrony Restricted - PowerPoint PPT Presentation

Synchrony Weakened by Message Adversaries vs Asynchrony Restricted by Failure Detectors Michel R AYNAL , Julien S TAINER Institut Universitaire de France IRISA, Universit de Rennes, France Message adversaries vs failure


  1. Synchrony Weakened by Message Adversaries vs Asynchrony Restricted by Failure Detectors Michel R AYNAL ⋆, † Julien S TAINER † ⋆ Institut Universitaire de France † IRISA, Université de Rennes, France Message adversaries vs failure detectors 1

  2. Table of content • Multiplicity of DC models • Basic computation unit in DC • Synchronous systems weakened by with message adversaries • Asynchronous systems enriched with failure detectors • The map: Establishing a hierarchy and equivalences • Conclusion Message adversaries vs failure detectors 2

  3. Buzzwords or fundamental concepts?? Synchronous system, Failure, process crash, Lossy link, Asynchronous system, Distributed oracle, Reliable broadcast, Message adversary, Survivor set, Quorum, FLP , Consensus,Safety, Failure detector, Eventual leader, Total order broadcast, Core set, Weakest failure detector, Uniform property, Message pattern, Eventual synchrony, Recurrent link, Quiescent communication, Indulgent algorithm, Assumption coverage, Progress condition, DC Problem, Graceful degradation, Source, Dynamic system, Solo execution, t -Resilience, Iterated model, Wait-freedom, ..., etc., ... A jungle? Some unity? jewels inside? Is it possible to add “some order” to better understand? Message adversaries vs failure detectors 3

  4. RETURNING to The BASICS From SEQUENTIAL COMPUTING to DISTRIBUTED COMPUTING Message adversaries vs failure detectors 4

  5. Sequential computing • Basic computation unit: function f ( x ) y = f ( x ) f x • Hierarchy: FSA ⊂ Pushdown automata ⊂ Turing machines • Equivalences (examples): ⋆ Regular languages ≃ FSA ≃ ND-FSA ⋆ Turing machines ≃ Lambda calculus ≃ Post’s system Message adversaries vs failure detectors 5

  6. The world of distributed systems • Time: Synchronous vs asynchronous systems • Communication: shared memory vs message-passing • Evolution: Static vs dynamic • Failures ⋆ What is concerned: process, link, or both ⋆ Types of failures (crash, crash/recovery, omission, arbitrary) This generates a multiplicity of DC models Message adversaries vs failure detectors 6

  7. Basic computation unit in DC: The notion of a task The DC counterpart of a function Individual Individual Inputs Output p i I [ i ] = in i O [ i ] = out i in i out i Output vector O [1 ..n ] Input vector I [1 ..n ] Message adversaries vs failure detectors 7

  8. Formal definition • A decision task T is a triple ( I , O , ∆) ⋆ I : set of input vectors (of size n ) ⋆ O : set of output vectors (of size n ) ⋆ ∆ : relation from I into O : ∀ I ∈ I : ∆( I ) ⊆ O • I [ i ] : private input of p i • O [ i ] : private output of p i • ∀ I ∈ I : ∆( I ) defines the set of output vectors that can be decided from the input vector I Message adversaries vs failure detectors 8

  9. Solving a task A distributed algorithm A is a set of n local automata (Turing ma- chines) that cooperate through specific communication objects (e.g., message-passing network, shared memory, etc.) The set of automata is fixed (not a dynamic system with churn, etc.) An algorithm A solves a task T if in any run • ∀ I ∈ I such that each p i starts with (proposes) in i = I [ i ] • ∃ O ∈ ∆( I ) such that out j = O [ j ] for each process p j that that computes (decides) an output out j Message adversaries vs failure detectors 9

  10. Examples of tasks • Consensus and k -set agreement ⋆ Binary consensus: I = {all vectors of 0 and 1 } � � O = { 0 , . . . , 0 } , { 1 , . . . , 1 } Let X 0 = { 0 , . . . , 0 } and X 0 = { 1 , . . . , 1 } ∆( any vector but X O , X 1 ) = O ∆( X 0 ) = { 0 , . . . , 0 } and ∆( X 1 ) = { 1 , . . . , 1 } . • Renaming, Weak symmetry breaking • k -Simultaneous consensus, Etc. Message adversaries vs failure detectors 10

  11. Type of a task • Colorless: In any run, the input (output) value of a process can be the input (output) of any other process ⋆ Example: consensus, k -set agreement • Colored: symmetry breaking tasks ⋆ Example: Renaming problem, Weak symmetry breaking Message adversaries vs failure detectors 11

  12. AIM of the PAPER Message adversaries vs failure detectors 12

  13. • A lot of papers: have introduced new models and investigated which pbs can be solved in each of these models • This paper: does not introduce new DC model, but establish a hierarchy and equivalences between existing models Message adversaries vs failure detectors 13

  14. the basic figure FD-based enrichment Msg adversary-based weakening Aynchrony Synchrony ( n − 1) processes may crash No process crash Reliable communication Reliable MP communication Communication: MP or RW When considering any colorless task: where do the models meet? Message adversaries vs failure detectors 14

  15. On the side of asynchronous models the paper considers the following models Message adversaries vs failure detectors 15

  16. Asynchronous models • n asynchronous processes • up to ( n − 1) processes may crash • Communication: reliable and ⋆ Asynchronous msg-passing, point-to-point complete network ⋆ Or Read/Write shared memory • notation: ⋆ MP: AMP n,n − 1 [ fd : ∅ ] vs AMP n,n − 1 [ fd : FD ] ⋆ RW: ARW n,n − 1 [ fd : ∅ ] vs ARW n,n − 1 [ fd : FD ] Message adversaries vs failure detectors 16

  17. Asynchronous MP or RW model enriched with FD Ω Eventual leader failure detector Ω • Let C = the set of non-faulty processes • Each process p i has a read-only local variable leader i such that ⋆ leader i always contains a process identity (validity), and ⋆ there is an unknown but finite time τ and a process identity ℓ ∈ C such that ∀ τ ′ ≥ τ : ( i ∈ C ) ⇒ ( leader τ ′ i = ℓ ) (eventual convergence) • Notation: AMP n,n − 1 [ fd : Ω] and ARW n,n − 1 [ fd : Ω] - Chandra T., Hadzilacos V. and Toueg S., The weakest failure detector for solving consensus. Journal of the ACM , 43(4):685-722, 1996 Message adversaries vs failure detectors 17

  18. Asynchronous MP model enriched with Failure Detectors Σ Quorum failure detector Σ • Each process p i has a read-only local variable qr i such that ⋆ qr i always contains a non- ∅ set of process identities (validity) i ∩ qr τ ′ ⋆ ∀ τ, τ ′ , ∀ i, j : qr τ j � = ∅ (intersection property) ⋆ ∀ i ∈ C : ∃ τ : ∀ τ ′ ≥ τ : qr τ ′ i ⊆ C (liveness property) • Notation: AMP n,n − 1 [ fd : Σ] - Delporte-Gallet C., Fauconnier H., and Guerraoui R., Tight failure detection bounds on atomic object implementations. Journal of the ACM , 57(4), Article 22, 2010 Message adversaries vs failure detectors 18

  19. Asynchronous shared memory models • Basic model: ARW n,n − 1 [ fd : ∅ ] ⋆ n asynchronous processes ⋆ up to ( n − 1) may crash ⋆ communication through atomic read/write registers • Enrched model ARW n,n − 1 [ fd : Ω] Message adversaries vs failure detectors 19

  20. On the side of synchronous models the paper considers the following models Message adversaries vs failure detectors 20

  21. Basic reliable synchronous model • n processes • no process failure • Synchronous msg-passing, point-to-point complete network • Round-based computation: ⋆ at every round, each process sends a msg to all ⋆ ∀ msg: received in the very same round in which it is sent • Notation SMP n [ adv : ∅ ] • Remark: due to synchrony assumption, the progress condition in this model is inherently wait-freedom Message adversaries vs failure detectors 21

  22. The notion of a message adversary • Power of an adversary: at any round the adversary can suppress messages • Weakening the power of an adversary: The power of an adversary can be restricted by imposing con- straints (properties) on it behavior ⋆ at one extreme it is not allowed to suppress messages, ⋆ at the other extreme it is allowed to suppress all messages at every round ⋆ and in between: it exists plenty of adversaries! Message adversaries vs failure detectors 22

  23. The T -connectivity adversary • T -interval connectivity: for any T consecutive rounds there a connected subgraph on which the adversary does not suppress messages • T = 1 : the minimal communication graph left by the adversary at every round is connected (it is consequently a spanning tree) but it change arbitrarily at every round • notation: SMP n [ adv : T- connectivity ] Any computable function can be computed in this synchr model ., Lynch N.A., and Oshman R., Distributed computation in dynamic networks. Proc. 42nd - Kuhn F ACM Symposium on Theory of Computing (STOC’10) , ACM press, pp. 513-522, 2010 Message adversaries vs failure detectors 23

  24. Afek-Gafni’s message adversaries • TOUR (tournament): at every round, the adversary can sup- press one message on each link but not both • PAIRS: (1) At each round, the adversary can suppress all mes- sages except one message, and (2) on k consecutive rounds (e.g., k = n ( n − 1) ) each link is selected for the non-suppression 2 • TP: At each round, there is a directed path connecting all pro- cesses on which messages are not suppressed • SMP n [ adv : TOUR ] , SMP n [ adv : PAIRS ] , SMP n [ adv : TP ] have the same computability power for task solvability - Afek Y. and Gafni E., Asynchrony from synchrony. Proc. Int’l Conference on Distributed Comput- ing and Networking (ICDCN’13) , Springer LNCS 7730, pp. 225-239, 2013. Message adversaries vs failure detectors 24

  25. CONTENT of the PAPER Message adversaries vs failure detectors 25

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