Top Banner
Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms for Reconfigurable Networks Amitabh Trehan Jared Saia Department of Computer Science University of New Mexico CS UNM Student Conference, 2007 Amitabh Trehan, Jared Saia Heal thy self
32

Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

Jun 27, 2018

Download

Documents

phamnga
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Scalable and Distributed Self-HealingAlgorithms for Reconfigurable Networks

Amitabh Trehan Jared Saia

Department of Computer ScienceUniversity of New Mexico

CS UNM Student Conference, 2007

Amitabh Trehan, Jared Saia Heal thy self

Page 2: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing.

Self-healing: A phrase applied to the process of recovery(generally from psychological disturbances, trauma, etc.),motivated by and directed by the patient, guided often onlyby instinct. [Wikipedia]

Our Goal?Make this concept concrete.

Amitabh Trehan, Jared Saia Heal thy self

Page 3: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing.

Self-healing: A phrase applied to the process of recovery(generally from psychological disturbances, trauma, etc.),motivated by and directed by the patient, guided often onlyby instinct. [Wikipedia]

Our Goal?Make this concept concrete.

Amitabh Trehan, Jared Saia Heal thy self

Page 4: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our Problem

Given: a connected network.

Goal: Keep the network connected and "small".

Problem: An adversary deletes nodes in the network.

Technique: Add edges.

Amitabh Trehan, Jared Saia Heal thy self

Page 5: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 6: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

The network: a Graph G(V,E)

The attack: Deletion of nodes.Self-healing goals:

Maintain connectivity.Ensure degrees of all nodes stay small.The algorithm must be efficient.

Amitabh Trehan, Jared Saia Heal thy self

Page 7: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 8: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Reconfigurable Networks.

Networks in which we can add new connections betweennodes.Examples:

Peer-to-Peer (P2P) networks.Cellular networks.Ad-hoc networks.Social Networks.

Amitabh Trehan, Jared Saia Heal thy self

Page 9: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Reconfigurable Networks.

Networks in which we can add new connections betweennodes.Examples:

Peer-to-Peer (P2P) networks.Cellular networks.Ad-hoc networks.Social Networks.

Amitabh Trehan, Jared Saia Heal thy self

Page 10: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Applications

Sensor NetworksNode: Sensor.Edge: Communication link.

P2P NetworksNode: Peer.Edge: Communication link.

Social NetworksNode: Person.Edge: Social connection.

Amitabh Trehan, Jared Saia Heal thy self

Page 11: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Applications

Sensor NetworksNode: Sensor.Edge: Communication link.

P2P NetworksNode: Peer.Edge: Communication link.

Social NetworksNode: Person.Edge: Social connection.

Amitabh Trehan, Jared Saia Heal thy self

Page 12: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Applications

Sensor NetworksNode: Sensor.Edge: Communication link.

P2P NetworksNode: Peer.Edge: Communication link.

Social NetworksNode: Person.Edge: Social connection.

Amitabh Trehan, Jared Saia Heal thy self

Page 13: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Applications

Sensor NetworksNode: Sensor.Edge: Communication link.

P2P NetworksNode: Peer.Edge: Communication link.

Social NetworksNode: Person.Edge: Social connection.

Amitabh Trehan, Jared Saia Heal thy self

Page 14: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 15: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Non-adaptible networks.

Spare capacity and rerouting.[XM 1999]

Redundant trees. [MFB 1999]

Resilient Overlay networks. [ABKM ’01]

Independent redundant network components. [GBI ’04]

Amitabh Trehan, Jared Saia Heal thy self

Page 16: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Line Algorithm

Reconnecting neighbours of deleted nodes in a line.[BASS ’06].

da

b c

x

e

b c e da

Amitabh Trehan, Jared Saia Heal thy self

Page 17: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Pluses

Keeps degrees small.

Ensures connectivity.

Simple algorithm.

Amitabh Trehan, Jared Saia Heal thy self

Page 18: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Self-healing in face of attacksPrevious Work

Problems

Not scalable.

Too many messages exchanged O(n).

Too slow O(n).

Diameter can increase.

Amitabh Trehan, Jared Saia Heal thy self

Page 19: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 20: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Our Model

The Adversary:Eats Nodes.Omniscient: has knowledge of our network and algorithms.Eats one node at a time.

The Home team (Nodes):Have a small time to recover after each attack.Can set up new links (reconfigure).Maintain Neighbour-of-Neighbour information.

Amitabh Trehan, Jared Saia Heal thy self

Page 21: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 22: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Some definitions

For a fixed time t :G(V , E): The actual network.E ′: The edges added by algorithm.(E ′ ⊆ E).G′ = (V , E ′): G′ will be a forest.N(v , G′): neighbors of v in G′.UN(v , G) (Unique Neighbours): Set of neighbours of v inG such that no subtree in G′ has more than onerepresentative.

Amitabh Trehan, Jared Saia Heal thy self

Page 23: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

DaSH: Degree-Based Self-Healing.

1 Init: for given network G(V , E), Initialise each vertex with arandom number ID between [0,1] selected uniformly atrandom.

2 While true do3 If a vertex v is deleted, do4 Nodes in UN(v , G) ∪ N(v , G′) are reconnected into a

complete binary tree. To connect the tree, go right to left,bottom up, mapping nodes to the complete binary tree indecreasing order of degree value.

5 Let MINID be the minimum ID of any node inUN(v , G) ∪ N(v , G′). Propagate MINID to all the nodes inthe tree of UN(v , G) ∪ N(v , G′) in G′.

6 end while

Amitabh Trehan, Jared Saia Heal thy self

Page 24: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

DaSH Demo.

Figure: Reconfiguration on deletion of node V .

Amitabh Trehan, Jared Saia Heal thy self

Page 25: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

DaSH Timeline.

Amitabh Trehan, Jared Saia Heal thy self

Page 26: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

DaSH Properties.

Theorem

DaSH has the following properties:

The degree of any vertex is increased by at most2(logn) + 1.

The latency to do healing after a deletion is constant.

The number of messages any node sends out andreceives is O(logn) with high probability.

The algorithm is completely distributed.

Amitabh Trehan, Jared Saia Heal thy self

Page 27: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Outline

1 IntroductionSelf-healing in face of attacksPrevious Work

2 Our WorkOur ModelDaSH: AlgorithmExperiments

Amitabh Trehan, Jared Saia Heal thy self

Page 28: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Attack strategies:

Max degree: Delete node of maximum degree.

Max Degree Neighbour: Keep deleting neighbours ofmaximum degree node.

Healing strategies:

Binary Graph: reconnect all neighbours; naive.

Binary Tree: reconnect neighbours keeping G′ as forest.

Degree based Binary Tree (DaSH)Amitabh Trehan, Jared Saia Heal thy self

Page 29: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Our ModelDaSH: AlgorithmExperiments

Figure: Self-healing demonstrated by DaSH and related Algorithms.

Amitabh Trehan, Jared Saia Heal thy self

Page 30: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Summary

Concrete definition of self-healing: maintaining an invariantover multiple attacks.

Provably efficient algorithm for maintaining networks.

Amitabh Trehan, Jared Saia Heal thy self

Page 31: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Future Work

Additionally, keep Stretch1 of the network low.

1maximum δ′(u,v)δ(u,v)

for all nodes u, v , where δ′ is distance in new graph, δdistance in original graph.

Amitabh Trehan, Jared Saia Heal thy self

Page 32: Scalable and Distributed Self-Healing Algorithms for ...amitabh/pubs/SelfHealing/HealAlgoUNM01March.pdf · Introduction Our Work Summary Scalable and Distributed Self-Healing Algorithms

IntroductionOur WorkSummary

Question Time

Amitabh Trehan, Jared Saia Heal thy self