Algebraic Topology and Decidability in Distributed Computing

Slides:



Advertisements
Similar presentations
Topology in Distributed Computing: A Primer 1 / 16 Sergey Velder SPbSU ITMO.
Advertisements

Impossibility of Distributed Consensus with One Faulty Process
Bigamy Eli Gafni UCLA GETCO Outline Models, tasks, and solvability What is SM? r/w w.f. asynch computability Sperner Lemma as a consequence of the.
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Computer Science 425 Distributed Systems CS 425 / ECE 428 Consensus
1 Nir Shavit Tel-Aviv University and Sun Microsystems Labs (Joint work with Maurice Herlihy of Brown University) © Herlihy and Shavit 2004 The Topological.
Distributed Computing 8. Impossibility of consensus Shmuel Zaks ©
Byzantine Generals Problem: Solution using signed messages.
Failure Detectors. Can we do anything in asynchronous systems? Reliable broadcast –Process j sends a message m to all processes in the system –Requirement:
LOCALITY IN DISTRIBUTED GRAPH ALGORITHMS Nathan Linial Presented by: Ron Ryvchin.
A C OMBINATORIAL C HARACTERIZATION OF THE D ISTRIBUTED 1-S OLVABLE T ASKS Ofer Biran, Shlomo Moran, Shmuel Zaks Presented by Ami Paz Technion, Haifa, Israel.
Sergio Rajsbaum 2006 Lecture 3 Introduction to Principles of Distributed Computing Sergio Rajsbaum Math Institute UNAM, Mexico.
CPSC 668Set 9: Fault Tolerant Consensus1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
CPSC 668Set 9: Fault Tolerant Consensus1 CPSC 668 Distributed Algorithms and Systems Spring 2008 Prof. Jennifer Welch.
Connected Components, Directed Graphs, Topological Sort COMP171.
1 Fault-Tolerant Consensus. 2 Failures in Distributed Systems Link failure: A link fails and remains inactive; the network may get partitioned Crash:
1 Brief Announcement: Distributed Broadcasting and Mapping Protocols in Directed Anonymous Networks Michael Langberg: Open University of Israel Moshe Schwartz:
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 4 – Consensus and reliable.
Deriving an Algorithm for the Weak Symmetry Breaking Task Armando Castañeda Sergio Rajsbaum Universidad Nacional Autónoma de México.
© Sergio Rajsbaum; DISC/GETCO 2004 Introduction to the Gödel Prize Session Sergio Rajsbaum Math Institute UNAM, Mexico.
On the Cost of Fault-Tolerant Consensus When There are no Faults Idit Keidar & Sergio Rajsbaum Appears in SIGACT News; MIT Tech. Report.
Two-Process Systems TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA Companion slides for Distributed Computing.
Distributed Consensus Reaching agreement is a fundamental problem in distributed computing. Some examples are Leader election / Mutual Exclusion Commit.
1 © P. Kouznetsov A Note on Set Agreement with Omission Failures Rachid Guerraoui, Petr Kouznetsov, Bastian Pochon Distributed Programming Laboratory Swiss.
Consensus and Its Impossibility in Asynchronous Systems.
Review for Exam 2. Topics included Deadlock detection Resource and communication deadlock Graph algorithms: Routing, spanning tree, MST, leader election.
1 Lectures on Parallel and Distributed Algorithms COMP 523: Advanced Algorithmic Techniques Lecturer: Dariusz Kowalski Lectures on Parallel and Distributed.
Computer Science and Engineering Parallel and Distributed Processing CSE 8380 February 10, 2005 Session 9.
CS294, Yelick Consensus revisited, p1 CS Consensus Revisited
Chap 15. Agreement. Problem Processes need to agree on a single bit No link failures A process can fail by crashing (no malicious behavior) Messages take.
Vertex Coloring Distributed Algorithms for Multi-Agent Networks
Impossibility of Distributed Consensus with One Faulty Process By, Michael J.Fischer Nancy A. Lynch Michael S.Paterson.
1 Fault tolerance in distributed systems n Motivation n robust and stabilizing algorithms n failure models n robust algorithms u decision problems u impossibility.
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
Fault tolerance and related issues in distributed computing Shmuel Zaks GSSI - Feb
On the Performance of Consensus Algorithms: Theory and Practice Idit Keidar Technion & MIT.
Topology Preserving Edge Contraction Paper By Dr. Tamal Dey et al Presented by Ramakrishnan Kazhiyur-Mannar.
reaching agreement in the presence of faults
The consensus problem in distributed systems
Michael Langberg: Open University of Israel
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
8.2. Process resilience Shreyas Karandikar.
Colorless Wait-Free Computation
Algebraic Topology and Distributed Computing part two
Byzantine-Resilient Colorless Computaton
Elements of Combinatorial Topology
Algebraic Topology and Distributed Computing
Outline Distributed Mutual Exclusion Distributed Deadlock Detection
Elements of Combinatorial Topology
Solvability of Colorless Tasks in Different Models
Wait-Free Computability for General Tasks
6.852: Distributed Algorithms Spring, 2008
Alternating Bit Protocol
Distributed Consensus
Agreement Protocols CS60002: Distributed Systems
Distributed Systems, Consensus and Replicated State Machines
Simulations and Reductions
Combinatorial Topology and Distributed Computing
Fault-tolerant Consensus in Directed Networks Lewis Tseng Boston College Oct. 13, 2017 (joint work with Nitin H. Vaidya)
Distributed Systems CS
Renaming and Oriented Manifolds
CS 425 / ECE 428 Distributed Systems Fall 2017 Indranil Gupta (Indy)
Combinatorial Topology and Distributed Computing
Rodolfo Conde Joint work with Sergio Rajsbaum Instituto de Matemáticas
Connected Components, Directed Graphs, Topological Sort
Task Solvability in Different Models
Algebraic Topology and Distributed Computing part three
CSCE 668 DISTRIBUTED ALGORITHMS AND SYSTEMS
Combinatorial Topology and Distributed Computing
Presentation transcript:

Algebraic Topology and Decidability in Distributed Computing Maurice Herlihy Brown University Joint work with Sergio Rajsbaum, Nir Shavit, and Mark Tuttle

Overview Applications of algebraic topology Known results to fault-tolerant computing especially decidability issues Known results focus on techniques 10-Dec-18

Decision Tasks Before: private inputs After: private outputs 10-Dec-18

Example: 3-Consensus Before: private inputs After: agree on one input 10-Dec-18

Example: (3,2)-Consensus Before: private inputs After: agree on 1 or 2 inputs 10-Dec-18

Point in high-dimensional Euclidean Space A Vertex Point in high-dimensional Euclidean Space 10-Dec-18

2-simplex (solid triangle) Simplexes 0-simplex (vertex) 1-simplex (edge) 3-simplex (solid tetrahedron) 2-simplex (solid triangle) 10-Dec-18

Simplicial Complex 10-Dec-18

Simplicial Maps Vertex-to-vertex map carrying simplexes to simplexes induces piece-wise linear map 10-Dec-18

Value (input or output) Vertex = Process State Process id (color) 7 Value (input or output) 10-Dec-18

Simplex = Global State 10-Dec-18

Complex = Global States 10-Dec-18

Initial States for Consensus Processes: blue, red, green. Independently assign 0 or 1 Isomorphic to 2-sphere the input complex 1 1 10-Dec-18

Final States for Consensus Processes agree on 0 or 1 Two disjoint n-simplexes the output complex 1 10-Dec-18

Problem Specification For each input simplex S relation D(S) defines corresponding set of legal outputs carries input simplex to output subcomplex 10-Dec-18

Consensus Specification 1 Simplex of all-zero inputs 10-Dec-18

Consensus Specification 1 Simplex of all-one inputs 10-Dec-18

Consensus Specification 1 Mixed-input simplex 10-Dec-18

Protocols Finite program starts with input values behavior depends on model ... halts with decision value 10-Dec-18

Protocol Complex Each protocol defines a complex Protocol complex vertex: my view of computation simplex: everyone’s view Protocol complex depends on model of computation what did you expect? 10-Dec-18

Simple Model: Synchronous Message-Passing Round 0 Round 1 10-Dec-18

Failures: Fail-Stop Partial broadcast 10-Dec-18

Single Input: Round Zero No messages sent vertexes labeled with input values isomorphic to input simplex 10-Dec-18

Round Zero Protocol Complex 1 No messages sent vertexes labeled with input values isomorphic to input complex 10-Dec-18

Single Input: Round One red fails green fails no one fails blue fails 10-Dec-18

Protocol Complex: Round One 10-Dec-18

Protocol Complex Evolution zero two one 10-Dec-18

Observation Decision map is a simplicial map vertexes to vertexes, but also simplexes to simplexes respects specification relation D 10-Dec-18

Summary d Protocol complex D Input complex Output complex 10-Dec-18

New Model: Asynchronous Failures ??? ??? 10-Dec-18

What We Know already Impossibility results Algorithms in various models k-Consensus (n,k)-consensus renaming, etc. 10-Dec-18

Decidability Results Biran, Moran, & Zaks 88 Gafni & Koutsoupias 96 one-resilient message-passing decidable Gafni & Koutsoupias 96 t-resilient read/write undecidable Herlihy & Rajsbaum 97 lots of other models 10-Dec-18

(formerly loop agreement) Robot Rendez-Vous (formerly loop agreement) Complex loop three vertexes (rendez-vous points) 10-Dec-18

One Rendez-Vous Point output input 10-Dec-18

Two Rendez-Vous Points output input 10-Dec-18

Three Rendez-Vous Points output input 10-Dec-18

Contractibility contractible not contractible 10-Dec-18

Theorem The Robot Rendez-Vous problem has a solution in the asynchronous message-passing model has a solution if and only if loop is contractible 10-Dec-18

Solvable implies Contractible Theorem: any protocol complex in the asynchronous message-passing model where more than one process can fail is connected and simply connected path between any two vertexes any loop is contractible trust me! or consult [Herlihy, Rajsbaum, Tuttle 98] 10-Dec-18

Solvable implies Contractible d v v Protocol Complex All inputs Output Complex 10-Dec-18

Solvable implies Contractible d v v 1 d v 1 All inputs 10-Dec-18

Solvable implies Contractible d v v 1 All inputs or 10-Dec-18

Solvable implies Contractible d 10-Dec-18

Solvable implies Contractible Protocol complex is simply connected d QED 10-Dec-18

Contractible implies Solvable f Map f is continuous 10-Dec-18

Contractible implies Solvable f Take simplicial approximation 10-Dec-18

Contractible implies Solvable f Approximate agreement QED 10-Dec-18

Decidability Contractibility is undecidable Reduces to even for finite complexes [Novikov 1955] Reduces to the word problem for finitely-presented groups 10-Dec-18

Decidability Asynchronous message-passing But wait, there’s more ... decidable for one failure undecidable otherwise But wait, there’s more ... 10-Dec-18

Decidability Results Weird or what? 10-Dec-18

Conclusions Decidability still an open area word problem is actually solvable for most reasonable classes of groups do these classes correspond to reasonable models of computation? 10-Dec-18

Clip Art 10-Dec-18