In the Stone Age. Stephan Holzer. Yuval Emek - Technion Roger Wattenhofer - ETH Zürich

Size: px
Start display at page:

Download "In the Stone Age. Stephan Holzer. Yuval Emek - Technion Roger Wattenhofer - ETH Zürich"

Transcription

1 The Power of a Leader In the Stone Age - MIT Yuval Emek - Technion Roger Wattenhofer - ETH Zürich 2nd Workshop on Biological Distributed Algorithms, October 11-12, 2014 in Austin, Texas USA

2 The Power of a Leader In the Stone Age - MIT Yuval Emek - Technion Roger Wattenhofer - ETH Zürich 2nd Workshop on Biological Distributed Algorithms, October 11-12, 2014 in Austin, Texas USA

3 Stone Age Model of Distributed Computing

4 Computational Power of a Cell?

5 Computational Power of a Cell? Finite State Machine

6 Communication?

7 Communication? Transmissions: Same message delivered to all neighbors Constant size message Port for each neighbor Stores the last message delivered

8 Communication? Transmissions: Same message delivered to all neighbors Constant size message Port for each neighbor Stores the last message delivered Can detect if 0, 1 or 2+ ports store message m FSM changes state based on this sends message based on state

9 Stone Age Model of Distributed Computing All nodes run the same FSM (random) Anonymous Weak communication Fully asynchronous Arbitrary network topology (unknown) All features of the protocol are constant!

10 What is known? Can be synchronized Cannot elect a leader Cannot compute shortest paths No Minimum Spanning Tree or Diameter Edsger W. Dijkstra: Actually: I CAN COMPUTE SHORTEST PATHS!

11 Edsger W. Dijkstra: Actually: I CAN COMPUTE SHORTEST PATHS! Actually: Me too! (The slime mold)

12 Physarum polycephalum Nuclei are nodes Tubes / plasma are edges?

13 Computes the Shortest Path Video can be found at:

14 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation E.g. select unique node at random

15 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

16 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

17 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

18 Select Unique Node at Random REPEAT: 1. select Wait: random neighbor Transmissions: 2. Pr[choose yourself]=1/2 - Same message delivered to all neighbors lea der Solution: - Wait until there is a neighbor in a unique state among the neighbors - Detect this via ports - Transmit content of this port

19 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

20 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

21 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

22 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

23 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

24 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

25 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

26 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

27 Select Unique Node at Random REPEAT: 1. select random neighbor 2. Pr[choose yourself]=1/2 lea der

28 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property

29 Check if all nodes up to a certain distance have a certain property Determines the distance (here: 2) lea der

30 Check if all nodes up to a certain distance have a certain property Determines the distance (here: 2) lea der v

31 Check if all nodes up to a certain distance have a certain property Use ping to check properties Determines the distance (here: 2) lea der v

32 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property

33 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well)

34 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well) Iterate through all nodes (for v V do TASK)

35 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

36 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

37 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

38 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

39 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

40 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

41 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

42 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

43 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

44 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

45 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

46 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

47 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

48 Iterate through all nodes (for v V do) v max leader; while not all nodes at distance dist(leader,v max )+1 are marked do select random node u; // u marks itself if dist(leader,u) > dist(leader, v max ) then v max u; u performs TASK;

49 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well) Iterate through all nodes (for u V do TASK)

50 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well) Iterate through all nodes (for u V do TASK) Decide dist(u,v) > dist(u,v )

51 Decide dist(u,v) > dist(u,v ) u u Perform BFS v v

52 Decide dist(u,v) > dist(u,v ) u u lea der Acts as synchronizer Perform BFS v v

53 Decide dist(u,v) > dist(u,v ) u u lea der Acts as synchronizer Perform BFS v v

54 Decide dist(u,v) > dist(u,v ) u u lea der Acts as synchronizer Perform BFS v v

55 Decide dist(u,v) > dist(u,v ) u u lea der Acts as synchronizer Perform BFS v v

56 Decide dist(u,v) > dist(u,v ) u u lea der Acts as synchronizer Perform BFS v v

57 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well) Iterate through all nodes (for u V do TASK) Decide dist(u,v) > dist(u,v )

58 How a Leader can make a Difference! Symmetry is broken Can coordinate global computation Select unique node at random Check if all nodes up to a certain distance have a certain property (works for subsets as well) Iterate through all nodes (for u V do TASK) Decide dist(u,v) > dist(u,v ) Constant combination of all these

59 Shortest Path INPUT: nodes u,v (assume v is leader) While u v do u marks itself to be on the shortest path for each neighbor w of u do if dist w, v < dist(u, v) then u w; OUTPUT: marked nodes

60 Shortest Path Example:

61 Shortest Path Example:

62 Shortest Path Example:

63 Shortest Path Example:

64 Shortest Path Example:

65 Shortest Path Example:

66 Shortest Path Example:

67 Shortest Path Example:

68 Shortest Path Example:

69 Shortest Path Example:

70 Different Model for the Slime Mold? Keep algorithms simple How does communication work? Strength of flow through tubes indicates length. We assume additional communication through tubes/plasma. Communicate through moving nuclei? Nuclei: How long do they live? Robustness? Do they move? How many are there? Do they communicate / process information?

71 Note These are possibility results - which weak assumptions work - which don t

72 Thanks!

arxiv: v2 [cs.dc] 5 Apr 2012

arxiv: v2 [cs.dc] 5 Apr 2012 Stone Age Distributed Computing Yuval Emek Jasmin Smula Roger Wattenhofer arxiv:1202.1186v2 [cs.dc] 5 Apr 2012 Computer Engineering and Networks Laboratory (TIK) ETH Zurich, Switzerland Abstract The traditional

More information

Stone Age Distributed Computing

Stone Age Distributed Computing Stone Age Distributed Computing Yuval Emek Roger Wattenhofer Abstract A new model that depicts a network of randomized finite state machines operating in an asynchronous environment is introduced. This

More information

AGREEMENT PROBLEMS (1) Agreement problems arise in many practical applications:

AGREEMENT PROBLEMS (1) Agreement problems arise in many practical applications: AGREEMENT PROBLEMS (1) AGREEMENT PROBLEMS Agreement problems arise in many practical applications: agreement on whether to commit or abort the results of a distributed atomic action (e.g. database transaction)

More information

Concurrent Counting is harder than Queuing

Concurrent Counting is harder than Queuing Concurrent Counting is harder than Queuing Costas Busch Rensselaer Polytechnic Intitute Srikanta Tirthapura Iowa State University 1 rbitrary graph 2 Distributed Counting count count count count Some processors

More information

1 Introduction. 1.1 The Problem Domain. Self-Stablization UC Davis Earl Barr. Lecture 1 Introduction Winter 2007

1 Introduction. 1.1 The Problem Domain. Self-Stablization UC Davis Earl Barr. Lecture 1 Introduction Winter 2007 Lecture 1 Introduction 1 Introduction 1.1 The Problem Domain Today, we are going to ask whether a system can recover from perturbation. Consider a children s top: If it is perfectly vertically, you can

More information

Towards More Realistic ANTS

Towards More Realistic ANTS Towards More Realistic ANTS Yuval Emek Tobias Langner David Stolz Jara Uitto Roger Wattenhofer Technion, Israel ETH Zürich, Switzerland Abstract In this paper, we summarize our results on a variant of

More information

Outline. The Leader Election Protocol (IEEE 1394) IEEE 1394 High Performance Serial Bus (FireWire) Motivation. Background. Protocol Descriptions

Outline. The Leader Election Protocol (IEEE 1394) IEEE 1394 High Performance Serial Bus (FireWire) Motivation. Background. Protocol Descriptions Outline The Leader Election Protocol (IEEE 1394) Thai Son Hoang (inspired by the slides of Jean-Raymond Abrial) Department of Computer Science Swiss Federal Institute of Technology Zürich (ETH Zürich)

More information

cs/ee/ids 143 Communication Networks

cs/ee/ids 143 Communication Networks cs/ee/ids 143 Communication Networks Chapter 5 Routing Text: Walrand & Parakh, 2010 Steven Low CMS, EE, Caltech Warning These notes are not self-contained, probably not understandable, unless you also

More information

Stone Age Distributed Computing (Extended Abstract)

Stone Age Distributed Computing (Extended Abstract) Stone Age Distributed Computing (Extended Abstract) ABSTRACT Yuval Emek Distributed Computing Group ETH Zurich, Switzerland yemek@ethz.ch A new model that depicts a network of randomized finite state machines

More information

6.852: Distributed Algorithms Fall, Class 10

6.852: Distributed Algorithms Fall, Class 10 6.852: Distributed Algorithms Fall, 2009 Class 10 Today s plan Simulating synchronous algorithms in asynchronous networks Synchronizers Lower bound for global synchronization Reading: Chapter 16 Next:

More information

6.852: Distributed Algorithms Fall, Class 24

6.852: Distributed Algorithms Fall, Class 24 6.852: Distributed Algorithms Fall, 2009 Class 24 Today s plan Self-stabilization Self-stabilizing algorithms: Breadth-first spanning tree Mutual exclusion Composing self-stabilizing algorithms Making

More information

Time Synchronization

Time Synchronization Massachusetts Institute of Technology Lecture 7 6.895: Advanced Distributed Algorithms March 6, 2006 Professor Nancy Lynch Time Synchronization Readings: Fan, Lynch. Gradient clock synchronization Attiya,

More information

Distributed Systems Gossip Algorithms

Distributed Systems Gossip Algorithms Distributed Systems Gossip Algorithms He Sun School of Informatics University of Edinburgh What is Gossip? Gossip algorithms In a gossip algorithm, each node in the network periodically exchanges information

More information

Algorithm Design Strategies V

Algorithm Design Strategies V Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin

More information

Clock Synchronization with Bounded Global and Local Skew

Clock Synchronization with Bounded Global and Local Skew Clock Synchronization with ounded Global and Local Skew Distributed Computing Christoph Lenzen, ETH Zurich Thomas Locher, ETH Zurich Roger Wattenhofer, ETH Zurich October 2008 Motivation: No Global Clock

More information

Discrete Wiskunde II. Lecture 5: Shortest Paths & Spanning Trees

Discrete Wiskunde II. Lecture 5: Shortest Paths & Spanning Trees , 2009 Lecture 5: Shortest Paths & Spanning Trees University of Twente m.uetz@utwente.nl wwwhome.math.utwente.nl/~uetzm/dw/ Shortest Path Problem "#$%&'%()*%"()$#+,&- Given directed "#$%&'()*+,%+('-*.#/'01234564'.*,'7+"-%/8',&'5"4'84%#3

More information

Radio Network Clustering from Scratch

Radio Network Clustering from Scratch Radio Network Clustering from Scratch Fabian Kuhn, Thomas Moscibroda, Roger Wattenhofer {kuhn,moscitho,wattenhofer}@inf.ethz.ch Department of Computer Science, ETH Zurich, 8092 Zurich, Switzerland Abstract.

More information

A Time Optimal Self-Stabilizing Synchronizer Using A Phase Clock

A Time Optimal Self-Stabilizing Synchronizer Using A Phase Clock A Time Optimal Self-Stabilizing Synchronizer Using A Phase Clock Baruch Awerbuch Shay Kutten Yishay Mansour Boaz Patt-Shamir George Varghese December, 006 Abstract A synchronizer with a phase counter (sometimes

More information

Networks Cannot Compute Their Diameter in Sublinear Time

Networks Cannot Compute Their Diameter in Sublinear Time Networks Cannot Compute Their Diameter in Sublinear Time Preliminary version, please check for updates Silvio Frischknecht Stephan Holzer Roger Wattenhofer {fsilvio, stholzer, wattenhofer}@ethzch Computer

More information

Distributed Distance-Bounded Network Design Through Distributed Convex Programming

Distributed Distance-Bounded Network Design Through Distributed Convex Programming Distributed Distance-Bounded Network Design Through Distributed Convex Programming OPODIS 2017 Michael Dinitz, Yasamin Nazari Johns Hopkins University December 18, 2017 Distance Bounded Network Design

More information

The Leader Election Protocol (IEEE 1394)

The Leader Election Protocol (IEEE 1394) The Leader Election Protocol (IEEE 1394) J.R. Abrial, D. Cansell, D. Méry July 2002 This Session - Background :-) - An informal presentation of the protocol :-) - Step by step formal design :- - Short

More information

A Self-Stabilizing Distributed Approximation Algorithm for the Minimum Connected Dominating Set

A Self-Stabilizing Distributed Approximation Algorithm for the Minimum Connected Dominating Set A Self-Stabilizing Distributed Approximation Algorithm for the Minimum Connected Dominating Set Sayaka Kamei and Hirotsugu Kakugawa Tottori University of Environmental Studies Osaka University Dept. of

More information

Symmetric Rendezvous in Graphs: Deterministic Approaches

Symmetric Rendezvous in Graphs: Deterministic Approaches Symmetric Rendezvous in Graphs: Deterministic Approaches Shantanu Das Technion, Haifa, Israel http://www.bitvalve.org/~sdas/pres/rendezvous_lorentz.pdf Coauthors: Jérémie Chalopin, Adrian Kosowski, Peter

More information

Graph-theoretic Problems

Graph-theoretic Problems Graph-theoretic Problems Parallel algorithms for fundamental graph-theoretic problems: We already used a parallelization of dynamic programming to solve the all-pairs-shortest-path problem. Here we are

More information

The Physarum Computer

The Physarum Computer The Physarum Computer Kurt Mehlhorn Max Planck Institute for Informatics and Saarland University joint work with Vincenzo Bonifaci and Girish Varma paper available on my homepage August 30, 2011 The Physarum

More information

Dominating Set. Chapter 26

Dominating Set. Chapter 26 Chapter 26 Dominating Set In this chapter we present another randomized algorithm that demonstrates the power of randomization to break symmetries. We study the problem of finding a small dominating set

More information

Dominating Set. Chapter Sequential Greedy Algorithm 294 CHAPTER 26. DOMINATING SET

Dominating Set. Chapter Sequential Greedy Algorithm 294 CHAPTER 26. DOMINATING SET 294 CHAPTER 26. DOMINATING SET 26.1 Sequential Greedy Algorithm Chapter 26 Dominating Set Intuitively, to end up with a small dominating set S, nodes in S need to cover as many neighbors as possible. It

More information

Describing Homing and Distinguishing Sequences for Nondeterministic Finite State Machines via Synchronizing Automata

Describing Homing and Distinguishing Sequences for Nondeterministic Finite State Machines via Synchronizing Automata Describing Homing and Distinguishing Sequences for Nondeterministic Finite State Machines via Synchronizing Automata Natalia Kushik and Nina Yevtushenko Tomsk State University, Russia 2 Motivation Relies

More information

Distributed Algorithms

Distributed Algorithms Distributed Algorithms December 17, 2008 Gerard Tel Introduction to Distributed Algorithms (2 nd edition) Cambridge University Press, 2000 Set-Up of the Course 13 lectures: Wan Fokkink room U342 email:

More information

Counting in Practical Anonymous Dynamic Networks is Polynomial

Counting in Practical Anonymous Dynamic Networks is Polynomial Counting in Practical Anonymous Dynamic Networks is Polynomial Maitri Chakraborty, Alessia Milani, and Miguel A. Mosteiro NETyS 2016 The Internet of Things The Counting Problem How do you count the size

More information

A Deterministic Almost-Tight Distributed Algorithm for Approximating Single-Source Shortest Paths

A Deterministic Almost-Tight Distributed Algorithm for Approximating Single-Source Shortest Paths A Deterministic Almost-Tight Distributed Algorithm for Approximating Single-Source Shortest Paths Monika Henzinger 1 Sebastian Krinninger 2 Danupon Nanongkai 3 1 University of Vienna 2 Max Planck Institute

More information

Dynamic Programming: Shortest Paths and DFA to Reg Exps

Dynamic Programming: Shortest Paths and DFA to Reg Exps CS 374: Algorithms & Models of Computation, Fall 205 Dynamic Programming: Shortest Paths and DFA to Reg Exps Lecture 7 October 22, 205 Chandra & Manoj (UIUC) CS374 Fall 205 / 54 Part I Shortest Paths with

More information

arxiv: v1 [cs.dc] 22 May 2017

arxiv: v1 [cs.dc] 22 May 2017 Symmetry Breaking in the Congest Model: Timeand Message-Efficient Algorithms for Ruling Sets Shreyas Pai, Gopal Pandurangan 2, Sriram V. Pemmaraju, Talal Riaz, and Peter Robinson 3 arxiv:705.0786v [cs.dc]

More information

CprE 281: Digital Logic

CprE 281: Digital Logic CprE 281: Digital Logic Instructor: Alexander Stoytchev http://www.ece.iastate.edu/~alexs/classes/ Synchronous Sequential Circuits Basic Design Steps CprE 281: Digital Logic Iowa State University, Ames,

More information

Colorless Wait-Free Computation

Colorless Wait-Free Computation Colorless Wait-Free Computation Companion slides for Distributed Computing Through Maurice Herlihy & Dmitry Kozlov & Sergio Rajsbaum Distributed Computing through 1 Colorless Tasks 32 19 21 19-Apr-14 2

More information

Asymptotics, asynchrony, and asymmetry in distributed consensus

Asymptotics, asynchrony, and asymmetry in distributed consensus DANCES Seminar 1 / Asymptotics, asynchrony, and asymmetry in distributed consensus Anand D. Information Theory and Applications Center University of California, San Diego 9 March 011 Joint work with Alex

More information

A Self-Stabilizing Minimal Dominating Set Algorithm with Safe Convergence

A Self-Stabilizing Minimal Dominating Set Algorithm with Safe Convergence A Self-Stabilizing Minimal Dominating Set Algorithm with Safe Convergence Hirotsugu Kakugawa and Toshimitsu Masuzawa Department of Computer Science Graduate School of Information Science and Technology

More information

Steps towards Decentralized Deterministic Network Coding

Steps towards Decentralized Deterministic Network Coding Steps towards Decentralized Deterministic Network Coding BY Oana Graur o.graur@jacobs-university.de Ph.D. Proposal in Electrical Engineering Ph.D Proposal Committee: Prof. Dr.-Ing. Werner Henkel, Dr. Mathias

More information

SDS developer guide. Develop distributed and parallel applications in Java. Nathanaël Cottin. version

SDS developer guide. Develop distributed and parallel applications in Java. Nathanaël Cottin. version SDS developer guide Develop distributed and parallel applications in Java Nathanaël Cottin sds@ncottin.net http://sds.ncottin.net version 0.0.3 Copyright 2007 - Nathanaël Cottin Permission is granted to

More information

Network Algorithms and Complexity (NTUA-MPLA) Reliable Broadcast. Aris Pagourtzis, Giorgos Panagiotakos, Dimitris Sakavalas

Network Algorithms and Complexity (NTUA-MPLA) Reliable Broadcast. Aris Pagourtzis, Giorgos Panagiotakos, Dimitris Sakavalas Network Algorithms and Complexity (NTUA-MPLA) Reliable Broadcast Aris Pagourtzis, Giorgos Panagiotakos, Dimitris Sakavalas Slides are partially based on the joint work of Christos Litsas, Aris Pagourtzis,

More information

Rendezvous and Election of Mobile Agents: Impact of Sense of Direction

Rendezvous and Election of Mobile Agents: Impact of Sense of Direction Rendezvous and Election of Mobile Agents: Impact of Sense of Direction Lali Barrière Paola Flocchini Pierre Fraigniaud Nicola Santoro Abstract Consider a collection of r identical asynchronous mobile agents

More information

Fault-Tolerant Consensus

Fault-Tolerant Consensus Fault-Tolerant Consensus CS556 - Panagiota Fatourou 1 Assumptions Consensus Denote by f the maximum number of processes that may fail. We call the system f-resilient Description of the Problem Each process

More information

SFM-11:CONNECT Summer School, Bertinoro, June 2011

SFM-11:CONNECT Summer School, Bertinoro, June 2011 SFM-:CONNECT Summer School, Bertinoro, June 20 EU-FP7: CONNECT LSCITS/PSS VERIWARE Part 3 Markov decision processes Overview Lectures and 2: Introduction 2 Discrete-time Markov chains 3 Markov decision

More information

Preserving the Fault-Containment of Ring Protocols Executed on Trees

Preserving the Fault-Containment of Ring Protocols Executed on Trees The Computer Journal Advance Access published November 21, 2008 # The Author 2008. Published by Oxford University Press on behalf of The British Computer Society. All rights reserved. For Permissions,

More information

Quantum Algorithms for Leader Election Problem in Distributed Systems

Quantum Algorithms for Leader Election Problem in Distributed Systems Quantum Algorithms for Leader Election Problem in Distributed Systems Pradeep Sarvepalli pradeep@cs.tamu.edu Department of Computer Science, Texas A&M University Quantum Algorithms for Leader Election

More information

Self-Stabilizing Silent Disjunction in an Anonymous Network

Self-Stabilizing Silent Disjunction in an Anonymous Network Self-Stabilizing Silent Disjunction in an Anonymous Network Ajoy K. Datta 1, Stéphane Devismes 2, and Lawrence L. Larmore 1 1 Department of Computer Science, University of Nevada Las Vegas, USA 2 VERIMAG

More information

arxiv: v1 [cs.dc] 13 Nov 2013

arxiv: v1 [cs.dc] 13 Nov 2013 Ants: Mobile Finite State Machines Yuval Emek Tobias Langner Jara Uitto Roger Wattenhofer arxiv:1311.3062v1 [cs.dc] 13 Nov 2013 Abstract Consider the Ants Nearby Treasure Search (ANTS) problem introduced

More information

A walk over the shortest path: Dijkstra s Algorithm viewed as fixed-point computation

A walk over the shortest path: Dijkstra s Algorithm viewed as fixed-point computation A walk over the shortest path: Dijkstra s Algorithm viewed as fixed-point computation Jayadev Misra 1 Department of Computer Sciences, University of Texas at Austin, Austin, Texas 78712-1188, USA Abstract

More information

Data Gathering and Personalized Broadcasting in Radio Grids with Interferences

Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Jean-Claude Bermond a,, Bi Li a,b, Nicolas Nisse a, Hervé Rivano c, Min-Li Yu d a Coati Project, INRIA I3S(CNRS/UNSA), Sophia

More information

Symmetry Reduction and Heuristic Search for Error Detection in Model Checking p.1/??

Symmetry Reduction and Heuristic Search for Error Detection in Model Checking p.1/?? Symmetry Reduction and Heuristic Search for Error Detection in Model Checking Workshop on Model Checking and Artificial Intelligence 10 August 2003 Alberto Lluch Lafuente? - Tilman Mehler? lafuente@informatikuni-freiburgde

More information

Byzantine Agreement. Gábor Mészáros. CEU Budapest, Hungary

Byzantine Agreement. Gábor Mészáros. CEU Budapest, Hungary CEU Budapest, Hungary 1453 AD, Byzantium Distibuted Systems Communication System Model Distibuted Systems Communication System Model G = (V, E) simple graph Distibuted Systems Communication System Model

More information

Weak models of wireless distributed computing

Weak models of wireless distributed computing Aalto University School of Science Degree Programme in Computer Science and Engineering MARCOS U. TONG ALVAREZ Weak models of wireless distributed computing Comparison between radio networks and population

More information

Maximizable Routing Metrics

Maximizable Routing Metrics Maximizable Routing Metrics Mohamed G. Gouda Department of Computer Sciences The University of Texas at Austin Austin, Texas 78712-1188, USA gouda@cs.utexas.edu Marco Schneider SBC Technology Resources

More information

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours.

UNIVERSITY OF YORK. MSc Examinations 2004 MATHEMATICS Networks. Time Allowed: 3 hours. UNIVERSITY OF YORK MSc Examinations 2004 MATHEMATICS Networks Time Allowed: 3 hours. Answer 4 questions. Standard calculators will be provided but should be unnecessary. 1 Turn over 2 continued on next

More information

Leader Election in Asymmetric Labeled Unidirectional Rings

Leader Election in Asymmetric Labeled Unidirectional Rings Leader Election in Asymmetric Labeled Unidirectional Rings Karine Altisen Ajoy K. Datta Stéphane Devismes Anaïs Durand Lawrence L. Larmore Univ. Grenoble Alpes, CNRS, Grenoble INP, VERIMAG, 38000 Grenoble,

More information

A Brief Introduction to Model Checking

A Brief Introduction to Model Checking A Brief Introduction to Model Checking Jan. 18, LIX Page 1 Model Checking A technique for verifying finite state concurrent systems; a benefit on this restriction: largely automatic; a problem to fight:

More information

6. DYNAMIC PROGRAMMING II. sequence alignment Hirschberg's algorithm Bellman-Ford distance vector protocols negative cycles in a digraph

6. DYNAMIC PROGRAMMING II. sequence alignment Hirschberg's algorithm Bellman-Ford distance vector protocols negative cycles in a digraph 6. DYNAMIC PROGRAMMING II sequence alignment Hirschberg's algorithm Bellman-Ford distance vector protocols negative cycles in a digraph Shortest paths Shortest path problem. Given a digraph G = (V, E),

More information

Agreement Protocols. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur

Agreement Protocols. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Agreement Protocols CS60002: Distributed Systems Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Classification of Faults Based on components that failed Program

More information

Cuts. Cuts. Consistent cuts and consistent global states. Global states and cuts. A cut C is a subset of the global history of H

Cuts. Cuts. Consistent cuts and consistent global states. Global states and cuts. A cut C is a subset of the global history of H Cuts Cuts A cut C is a subset of the global history of H C = h c 1 1 hc 2 2...hc n n A cut C is a subset of the global history of H The frontier of C is the set of events e c 1 1,ec 2 2,...ec n n C = h

More information

Asynchronous Models For Consensus

Asynchronous Models For Consensus Distributed Systems 600.437 Asynchronous Models for Consensus Department of Computer Science The Johns Hopkins University 1 Asynchronous Models For Consensus Lecture 5 Further reading: Distributed Algorithms

More information

Review for the Midterm Exam

Review for the Midterm Exam Review for the Midterm Exam 1 Three Questions of the Computational Science Prelim scaled speedup network topologies work stealing 2 The in-class Spring 2012 Midterm Exam pleasingly parallel computations

More information

Dynamic Programming: Shortest Paths and DFA to Reg Exps

Dynamic Programming: Shortest Paths and DFA to Reg Exps CS 374: Algorithms & Models of Computation, Spring 207 Dynamic Programming: Shortest Paths and DFA to Reg Exps Lecture 8 March 28, 207 Chandra Chekuri (UIUC) CS374 Spring 207 / 56 Part I Shortest Paths

More information

Milestone V. Linsey A. Norris Justin Tanjuako Charlotte Wentzien Addison Yanito. December 14, 2006

Milestone V. Linsey A. Norris Justin Tanjuako Charlotte Wentzien Addison Yanito. December 14, 2006 Milestone V Linsey A. Norris Justin Tanjuako Charlotte Wentzien Addison Yanito December 14, 2006 1 Introduction 2 Introduction The plasmodium Physarum polycephalum is a large unicellular,multinuclear amoeba-like

More information

Shortest paths: label setting

Shortest paths: label setting : label setting CE 377K February 19, 2015 REVIEW HW 2 posted, due in 2 weeks Review Basic search algorithm Prim s algorithm Review Algorithm (Assumes that the network is connected.) 1 Arbitrarily choose

More information

CSE 332. Data Abstractions

CSE 332. Data Abstractions Adam Blank Lecture 23 Autumn 2015 CSE 332 Data Abstractions CSE 332: Data Abstractions Graphs 4: Minimum Spanning Trees Final Dijkstra s Algorithm 1 1 dijkstra(g, source) { 2 dist = new Dictionary(); 3

More information

Distributed Approximate Single-Source Shortest Paths

Distributed Approximate Single-Source Shortest Paths Distributed Approximate Single-Source Shortest Paths Sebastian Krinninger University of Vienna joint works with Ruben Monika Andreas Christoph Danupon Becker Henzinger Karrenbauer Lenzen Nanongkai 1 /

More information

Routing. Topics: 6.976/ESD.937 1

Routing. Topics: 6.976/ESD.937 1 Routing Topics: Definition Architecture for routing data plane algorithm Current routing algorithm control plane algorithm Optimal routing algorithm known algorithms and implementation issues new solution

More information

Symmetric Network Computation

Symmetric Network Computation Symmetric Network Computation and the Finite-State Symmetric Graph Automaton (FSSGA) Model David Pritchard, with Santosh Vempala Theory of Distributed Systems Group at MIT, July 7 2006 David Pritchard

More information

Synchrony Weakened by Message Adversaries vs Asynchrony Restricted by Failure Detectors

Synchrony Weakened by Message Adversaries vs Asynchrony Restricted by Failure Detectors Synchrony Weakened by Message Adversaries vs Asynchrony Restricted by Failure Detectors Michel RAYNAL, Julien STAINER Institut Universitaire de France IRISA, Université de Rennes, France Message adversaries

More information

CMU Lecture 4: Informed Search. Teacher: Gianni A. Di Caro

CMU Lecture 4: Informed Search. Teacher: Gianni A. Di Caro CMU 15-781 Lecture 4: Informed Search Teacher: Gianni A. Di Caro UNINFORMED VS. INFORMED Uninformed Can only generate successors and distinguish goals from non-goals Informed Strategies that can distinguish

More information

Loopy Belief Propagation for Bipartite Maximum Weight b-matching

Loopy Belief Propagation for Bipartite Maximum Weight b-matching Loopy Belief Propagation for Bipartite Maximum Weight b-matching Bert Huang and Tony Jebara Computer Science Department Columbia University New York, NY 10027 Outline 1. Bipartite Weighted b-matching 2.

More information

Section 6 Fault-Tolerant Consensus

Section 6 Fault-Tolerant Consensus Section 6 Fault-Tolerant Consensus CS586 - Panagiota Fatourou 1 Description of the Problem Consensus Each process starts with an individual input from a particular value set V. Processes may fail by crashing.

More information

Minimum Spanning Trees

Minimum Spanning Trees Lecture 6 Minimum Spanning Trees In this lecture, we study another classic graph problem from the distributed point of view: minimum spanning tree construction. Definition 6.1 (Minimum Spanning Tree (MST)).

More information

Dijkstra s Single Source Shortest Path Algorithm. Andreas Klappenecker

Dijkstra s Single Source Shortest Path Algorithm. Andreas Klappenecker Dijkstra s Single Source Shortest Path Algorithm Andreas Klappenecker Single Source Shortest Path Given: a directed or undirected graph G = (V,E) a source node s in V a weight function w: E -> R. Goal:

More information

Failure Detectors. Seif Haridi. S. Haridi, KTHx ID2203.1x

Failure Detectors. Seif Haridi. S. Haridi, KTHx ID2203.1x Failure Detectors Seif Haridi haridi@kth.se 1 Modeling Timing Assumptions Tedious to model eventual synchrony (partial synchrony) Timing assumptions mostly needed to detect failures Heartbeats, timeouts,

More information

Metrics: Growth, dimension, expansion

Metrics: Growth, dimension, expansion Metrics: Growth, dimension, expansion Social and Technological Networks Rik Sarkar University of Edinburgh, 2017. Metric A distance measure d is a metric if: d(u,v) 0 d(u,v) = 0 iff u=v d(u,v) = d(u,v)

More information

Clojure Concurrency Constructs, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014

Clojure Concurrency Constructs, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014 Clojure Concurrency Constructs, Part Two CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014 1 Goals Cover the material presented in Chapter 4, of our concurrency textbook In particular,

More information

Gradient Clock Synchronization in Dynamic Networks Fabian Kuhn, Thomas Locher, and Rotem Oshman

Gradient Clock Synchronization in Dynamic Networks Fabian Kuhn, Thomas Locher, and Rotem Oshman Computer Science and Artificial Intelligence Laboratory Technical Report MIT-CSAIL-TR-2009-022 May 29, 2009 Gradient Clock Synchronization in Dynamic Networks Fabian Kuhn, Thomas Locher, and Rotem Oshman

More information

arxiv: v1 [cs.ds] 18 Apr 2016

arxiv: v1 [cs.ds] 18 Apr 2016 Impact of Knowledge on Election Time in Anonymous Networks Yoann Dieudonné Andrzej Pelc arxiv:1604.05023v1 [cs.ds] 18 Apr 2016 Abstract Leader election is one of the basic problems in distributed computing.

More information

I may not have gone where I intended to go, but I think I have ended up where I needed to be. Douglas Adams

I may not have gone where I intended to go, but I think I have ended up where I needed to be. Douglas Adams Disclaimer: I use these notes as a guide rather than a comprehensive coverage of the topic. They are neither a substitute for attending the lectures nor for reading the assigned material. I may not have

More information

Coordination. Failures and Consensus. Consensus. Consensus. Overview. Properties for Correct Consensus. Variant I: Consensus (C) P 1. v 1.

Coordination. Failures and Consensus. Consensus. Consensus. Overview. Properties for Correct Consensus. Variant I: Consensus (C) P 1. v 1. Coordination Failures and Consensus If the solution to availability and scalability is to decentralize and replicate functions and data, how do we coordinate the nodes? data consistency update propagation

More information

Distributed primal-dual approximation algorithms for network design problems

Distributed primal-dual approximation algorithms for network design problems Distributed primal-dual approximation algorithms for network design problems Zeev Nutov The Open University of Israel nutov@openu.ac.il Amir Sadeh The Open University of Israel amirsadeh@yahoo.com Abstract

More information

Half-Duplex Gaussian Relay Networks with Interference Processing Relays

Half-Duplex Gaussian Relay Networks with Interference Processing Relays Half-Duplex Gaussian Relay Networks with Interference Processing Relays Bama Muthuramalingam Srikrishna Bhashyam Andrew Thangaraj Department of Electrical Engineering Indian Institute of Technology Madras

More information

Routing Algorithms. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur

Routing Algorithms. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Routing Algorithms CS60002: Distributed Systems Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Main Features Table Computation The routing tables must be computed

More information

On Asynchronous Node Coloring in the SINR Model

On Asynchronous Node Coloring in the SINR Model On Asynchronous Node Coloring in the SINR Model Fabian Fuchs Institute of Theoretical Informatics Karlsruhe Institute of Technology Karlsruhe, Germany fabian.fuchs@kit.edu Abstract In this work we extend

More information

Closed Form Bounds for Clock Synchronization Under Simple Uncertainty Assumptions

Closed Form Bounds for Clock Synchronization Under Simple Uncertainty Assumptions Closed Form Bounds for Clock Synchronization Under Simple Uncertainty Assumptions Saâd Biaz Λ Jennifer L. Welch y Key words: Distributed Computing Clock Synchronization Optimal Precision Generalized Hypercube

More information

On Equilibria of Distributed Message-Passing Games

On Equilibria of Distributed Message-Passing Games On Equilibria of Distributed Message-Passing Games Concetta Pilotto and K. Mani Chandy California Institute of Technology, Computer Science Department 1200 E. California Blvd. MC 256-80 Pasadena, US {pilotto,mani}@cs.caltech.edu

More information

Notes on Machine Learning for and

Notes on Machine Learning for and Notes on Machine Learning for 16.410 and 16.413 (Notes adapted from Tom Mitchell and Andrew Moore.) Learning = improving with experience Improve over task T (e.g, Classification, control tasks) with respect

More information

Different encodings generate different circuits

Different encodings generate different circuits FSM State Encoding Different encodings generate different circuits no easy way to find best encoding with fewest logic gates or shortest propagation delay. Binary encoding: K states need log 2 K bits i.e.,

More information

Impossibility of Distributed Consensus with One Faulty Process

Impossibility of Distributed Consensus with One Faulty Process Impossibility of Distributed Consensus with One Faulty Process Journal of the ACM 32(2):374-382, April 1985. MJ Fischer, NA Lynch, MS Peterson. Won the 2002 Dijkstra Award (for influential paper in distributed

More information

FAIRNESS FOR DISTRIBUTED ALGORITHMS

FAIRNESS FOR DISTRIBUTED ALGORITHMS FAIRNESS FOR DISTRIBUTED ALGORITHMS A Dissertation submitted to the Faculty of the Graduate School of Arts and Sciences of Georgetown University in partial fulfillment of the requirements for the degree

More information

A Self-Stabilizing Algorithm for Finding a Minimal Distance-2 Dominating Set in Distributed Systems

A Self-Stabilizing Algorithm for Finding a Minimal Distance-2 Dominating Set in Distributed Systems JOURNAL OF INFORMATION SCIENCE AND ENGINEERING 24, 1709-1718 (2008) A Self-Stabilizing Algorithm for Finding a Minimal Distance-2 Dominating Set in Distributed Systems JI-CHERNG LIN, TETZ C. HUANG, CHENG-PIN

More information

Structuring Unreliable Radio Networks

Structuring Unreliable Radio Networks Structuring Unreliable Radio Networks Keren Censor-Hillel Seth Gilbert Fabian Kuhn Nancy Lynch Calvin Newport August 25, 2013 Abstract In this paper we study the problem of building a constant-degree connected

More information

Data Gathering and Personalized Broadcasting in Radio Grids with Interferences

Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Data Gathering and Personalized Broadcasting in Radio Grids with Interferences Jean-Claude Bermond a,b,, Bi Li b,a,c, Nicolas Nisse b,a, Hervé Rivano d, Min-Li Yu e a Univ. Nice Sophia Antipolis, CNRS,

More information

11 The Max-Product Algorithm

11 The Max-Product Algorithm Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.438 Algorithms for Inference Fall 2014 11 The Max-Product Algorithm In the previous lecture, we introduced

More information

More on NP and Reductions

More on NP and Reductions Indian Institute of Information Technology Design and Manufacturing, Kancheepuram Chennai 600 127, India An Autonomous Institute under MHRD, Govt of India http://www.iiitdm.ac.in COM 501 Advanced Data

More information

Discrete Optimization 2010 Lecture 2 Matroids & Shortest Paths

Discrete Optimization 2010 Lecture 2 Matroids & Shortest Paths Matroids Shortest Paths Discrete Optimization 2010 Lecture 2 Matroids & Shortest Paths Marc Uetz University of Twente m.uetz@utwente.nl Lecture 2: sheet 1 / 25 Marc Uetz Discrete Optimization Matroids

More information

Distributed Optimization over Random Networks

Distributed Optimization over Random Networks Distributed Optimization over Random Networks Ilan Lobel and Asu Ozdaglar Allerton Conference September 2008 Operations Research Center and Electrical Engineering & Computer Science Massachusetts Institute

More information

Competitive Concurrent Distributed Queuing

Competitive Concurrent Distributed Queuing Competitive Concurrent Distributed Queuing Maurice Herlihy Srikanta Tirthapura Roger Wattenhofer Brown University Brown University Microsoft Research Providence RI 02912 Providence RI 02912 Redmond WA

More information

Theoretical Computer Science. Partially dynamic efficient algorithms for distributed shortest paths

Theoretical Computer Science. Partially dynamic efficient algorithms for distributed shortest paths Theoretical Computer Science 411 (2010) 1013 1037 Contents lists available at ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs Partially dynamic efficient algorithms

More information