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

Slides:



Advertisements
Similar presentations
Analysis of Computer Algorithms
Advertisements

Slide 1 Insert your own content. Slide 2 Insert your own content.
Lower Bounds for Local Search by Quantum Arguments Scott Aaronson.
Introduction Companion slides for The Art of Multiprocessor Programming by Maurice Herlihy & Nir Shavit TexPoint fonts used in EMF. Read the TexPoint manual.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Analysis of Algorithms
Energy-Efficient Distributed Algorithms for Ad hoc Wireless Networks Gopal Pandurangan Department of Computer Science Purdue University.
List and Search Grants Chapter 2. List and Search Grants 2-2 Objectives Understand the option My Grants List Grant Screen Viewing a Grant Understand the.
0 - 0.
Addition Facts
1 Dynamic Interconnection Networks Buses CEG 4131 Computer Architecture III Miodrag Bolic.
Parallel List Ranking Advanced Algorithms & Data Structures Lecture Theme 17 Prof. Dr. Th. Ottmann Summer Semester 2006.
From Structural Description to Interactions in Law : the Case for Simplicial Complexes Jacky Legrand Université Paris 2, CERSA.
Shadow Prices vs. Vickrey Prices in Multipath Routing Parthasarathy Ramanujam, Zongpeng Li and Lisa Higham University of Calgary Presented by Ajay Gopinathan.
Randomized Distributed Decision Pierre Fraigniaud, Amos Korman, Merav Parter and David Peleg Yes No Yes No DISC 2012.
Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
The x- and y-Intercepts
1 Motion and Manipulation Configuration Space. Outline Motion Planning Configuration Space and Free Space Free Space Structure and Complexity.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
2 4 Theorem:Proof: What shall we do for an undirected graph?
Week 1.
FIND THE AREA ( ROUND TO THE NEAREST TENTHS) 2.7 in 15 in in.
1/22 Worst and Best-Case Coverage in Sensor Networks Seapahn Meguerdichian, Farinaz Koushanfar, Miodrag Potkonjak, and Mani Srivastava IEEE TRANSACTIONS.
Limitation of Computation Power – P, NP, and NP-complete
The Small World Phenomenon: An Algorithmic Perspective Speaker: Bradford Greening, Jr. Rutgers University – Camden.
TEL-AVIV UNIVERSITY FACULTY OF EXACT SCIENCES SCHOOL OF MATHEMATICAL SCIENCES An Algorithm for the Computation of the Metric Average of Two Simple Polygons.
all-pairs shortest paths in undirected graphs
Tyler White MATH 493 Dr. Wanner
N-Consensus is the Second Strongest Object for N+1 Processes Eli Gafni UCLA Petr Kuznetsov Max Planck Institute for Software Systems.
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.
Approximations of points and polygonal chains
1 Nir Shavit Tel-Aviv University and Sun Microsystems Labs (Joint work with Maurice Herlihy of Brown University) © Herlihy and Shavit 2004 The Topological.
Simplicial Sets, and Their Application to Computing Homology Patrick Perry November 27, 2002.
Sergio Rajsbaum 2006 Lecture 3 Introduction to Principles of Distributed Computing Sergio Rajsbaum Math Institute UNAM, Mexico.
Distributed Algorithms (22903) Lecturer: Danny Hendler Global Computation in the presence of Link Failures.
1 Brief Announcement: Distributed Broadcasting and Mapping Protocols in Directed Anonymous Networks Michael Langberg: Open University of Israel Moshe Schwartz:
Wait-Free Consensus with Infinite Arrivals James Aspnes Gauri Shah Jatin Shah Yale University STOC 2002.
Distributed systems Module 2 -Distributed algorithms Teaching unit 1 – Basic techniques Ernesto Damiani University of Bozen Lesson 2 – Distributed Systems.
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.
CS 425 / ECE 428 Distributed Systems Fall 2014 Indranil Gupta (Indy) Lecture 19: Paxos All slides © IG.
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.
Equality Function Computation (How to make simple things complicated) Nitin Vaidya University of Illinois at Urbana-Champaign Joint work with Guanfeng.
Lecture #12 Distributed Algorithms (I) CS492 Special Topics in Computer Science: Distributed Algorithms and Systems.
Manifold Protocols TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A AA Companion slides for Distributed Computing.
1 © P. Kouznetsov A Note on Set Agreement with Omission Failures Rachid Guerraoui, Petr Kouznetsov, Bastian Pochon Distributed Programming Laboratory Swiss.
DISTRIBUTED SYSTEMS II A POLYNOMIAL LOCAL SOLUTION TO MUTUAL EXCLUSION Prof Philippas Tsigas Distributed Computing and Systems Research Group.
Multiprocess Synchronization Algorithms ( ) Lecturer: Danny Hendler Global Computation.
Wait-Free Consensus CPSC 661 Fall 2003 Supervised by: Lisa Higham
Michael Langberg: Open University of Israel
Colorless Wait-Free Computation
Algebraic Topology and Distributed Computing part two
Byzantine-Resilient Colorless Computaton
Algebraic Topology and Distributed Computing
Elements of Combinatorial Topology
Wait-Free Computability for General Tasks
Simulations and Reductions
Combinatorial Topology and Distributed Computing
Presented By: Md Amjad Hossain
Algebraic Topology and Decidability in Distributed Computing
Renaming and Oriented Manifolds
Rodolfo Conde Joint work with Sergio Rajsbaum Instituto de Matemáticas
Algebraic Topology and Distributed Computing part three
Social Networks and Simplicial Complexes
Combinatorial Topology and Distributed Computing
Combinatorial Topology and Distributed Computing
Presentation transcript:

Topology in Distributed Computing: A Primer 1 / 16 Sergey Velder SPbSU ITMO

Overview 2 / 16 Applications of topology to the theory of distributed computing were discovered in Maurice Herlihy and Nir Shavit papers (1994, 1999) Michael Saks and Fotios Zaharoglou papers (1993, 2000) They were awarded Gödel prize in 2004.

Hypergraphs 3 / 16 In a hypergraph an edge can connect any number of vertices. n -hypergraph (hypergraph with dimension n ) is a hypergraph where any edge connects at most n + 1 vertices. Hypergraphs may have or not have an orientation. 1 -hypergraphs are called graphs. It is convenient to consider edges as simplices. 2 -hypergraph example:

Simplicial complexes 4 / 16 If a hypergraph (as a set of edges on vertices) is closed w. r. t. taking subsets of edges then it is called a simplicial complex. A vertex-to-vertex map of complexes that is a hypergraph homomorphism is called simplicial. Simplicial map is piecewise linear on geometric complexes. A subcomplex-to-subcomplex map that preserves intersections ( M(P Q) = M(P) M(Q) ) is called a carrier map. 3 -complexCarrier map

Complex meaning 5 / 16 Vertex color is a process ID. Vertex value is a process state. Simplex is a global state. Complex is a set of global states.

Binary consensus problem ( n = 3 ) 6 / 16 Input complex Output complex

Binary consensus problem ( n = 3 ) 6 / 16 Input complex Output complex Carrier map All 0 inputs All 0 outputs

Binary consensus problem ( n = 3 ) 6 / 16 Input complex Output complex Carrier map All 1 inputs All 1 outputs

Binary consensus problem ( n = 3 ) 6 / 16 Input complex Output complex Carrier map Mixed 0-1 inputs All 1 outputs All 0 outputs

An example of protocol type 7 / 16 Protocol complex Vertex defines process ID and view (complete log of messages sent and received). Simplex defines compatible set of views. Each execution defines a simplex. view = my_input_value; for (i = 0; i < r; i++) { broadcast(view); view += messages_received; } return δ (view)

Round 0 8 / 16 Single input Protocol complex

Round 1 9 / 16 Single input Protocol complex

Protocol complex evolution 10 / 16 Round 2

Protocol complex evolution 10 / 16 Round 0 Round 1 Round 2

Transformations 11 / 16 δ Input complex Protocol complex Output complex Lower bound strategy is to find topological obstruction to δ Must be simplicial

Consensus 12 / 16 Subcomplex of all-0 inputsmust map here δ

Consensus 12 / 16 δ Subcomplex of all-1 inputsmust map here

Path-connectedness 13 / 16 δ A protocol cannot solve consensus if its complex is path-connected.

Path-connectedness 14 / 16 If protocol complex path remains path-connected… forever then consensus is impossible; for r rounds then we have a round-complexity lower bound; for time t then we have a time-complexity lower bound.

Summary 15 / 16 Combinatorial and algorithmic arguments complement one another. Algorithmic is about what we can do. Combinatorial is about what we cant do.

Bibliography 16 / 16 M. Herlihy, N. Shavit. Applications of Algebraic Topology to Concurrent Computation. In Applications on Advanced Architecture Computers (ed. G. Astfalk), pp. 255–263 (1996)Applications of Algebraic Topology to Concurrent Computation M. Saks, F. Zaharoglou. Wait-Free k-set Agreement is impossible: The Topology of Public Knowledge. In Proceedings 25th Annual ACM STOC, pp. 101–110 (1993)Wait-Free k-set Agreement is impossible: The Topology of Public Knowledge E. Borowsliy, E. Gafni. Generalized FLP Impossibility Result for t-resilient Asynchronous Computations. In Proceedings 25th Annual ACM STOC, pp. 91–100 (1993)Generalized FLP Impossibility Result for t-resilient Asynchronous Computations M. J. Atallah, M. Blanton (eds.). Algorithms and Theory of Computation Handbook. General Concepts and Techniques, CRC Press (1998)