DAGSTUHL SEMINAR EPIDEMIC ALGORITHMS AND PROCESSES: FROM THEORY TO APPLICATIONS

Similar documents
Lecture #7: Discrete-time Signals and Sampling

Pointwise Image Operations

weight: amplitude of sine curve

Evaluation of Instantaneous Reliability Measures for a Gradual Deteriorating System

Location Tracking in Mobile Ad Hoc Networks using Particle Filter

Architectures for Resource Reservation Modules for Optical Burst Switching Core Nodes *

Lecture September 6, 2011

ECE-517 Reinforcement Learning in Artificial Intelligence

Mobile Robot Localization Using Fusion of Object Recognition and Range Information

Wrap Up. Fourier Transform Sampling, Modulation, Filtering Noise and the Digital Abstraction Binary signaling model and Shannon Capacity

Network Performance Metrics

Distributed Multi-robot Exploration and Mapping

Receiver-Initiated vs. Short-Preamble Burst MAC Approaches for Multi-channel Wireless Sensor Networks

Collaborative communication protocols for wireless sensor networks

Clock Synchronization

Comparing image compression predictors using fractal dimension

Role of Kalman Filters in Probabilistic Algorithm

Will my next WLAN work at 1 Gbps?

Communications II Lecture 7: Performance of digital modulation

Examination Mobile & Wireless Networking ( ) April 12,

Performance Analysis of A Burst-Frame-Based MAC Protocol for Ultra-Wideband Ad Hoc Networks

Comparitive Analysis of Image Segmentation Techniques

Technology Trends & Issues in High-Speed Digital Systems

Chapter 2. The Physical Layer

A Flexible Contention Resolution Scheme for QoS Provisioning in Optical Burst Switching Networks

Laplacian Mixture Modeling for Overcomplete Mixing Matrix in Wavelet Packet Domain by Adaptive EM-type Algorithm and Comparisons

Estimating a Time-Varying Phillips Curve for South Africa

Spring Localization I. Roland Siegwart, Margarita Chli, Martin Rufli. ASL Autonomous Systems Lab. Autonomous Mobile Robots

An Emergence of Game Strategy in Multiagent Systems

A Segmentation Method for Uneven Illumination Particle Images

Lecture 4. EITN Chapter 12, 13 Modulation and diversity. Antenna noise is usually given as a noise temperature!

Foreign Fiber Image Segmentation Based on Maximum Entropy and Genetic Algorithm

Shortest and Efficient Multipath Routing in Mobile ad hoc Network (MANET)

The design of an improved matched filter in DSSS-GMSK system

On the Scalability of Ad Hoc Routing Protocols

Knowledge Transfer in Semi-automatic Image Interpretation

SLAM Algorithm for 2D Object Trajectory Tracking based on RFID Passive Tags

VoIP over a wired link

UCLA Papers. Title. Permalink. Authors. Publication Date. Timing-sync Protocol for Sensor Networks.

Particle Filtering and Sensor Fusion for Robust Heart Rate Monitoring using Wearable Sensors

TELE4652 Mobile and Satellite Communications

Review Wireless Communications

A WIDEBAND RADIO CHANNEL MODEL FOR SIMULATION OF CHAOTIC COMMUNICATION SYSTEMS

EECE 301 Signals & Systems Prof. Mark Fowler

THE OSCILLOSCOPE AND NOISE. Objectives:

Mobile Communications Chapter 3 : Media Access

Dynamic Multiple-Message Broadcast: Bounding Throughput in the Affectance Model

10. The Series Resistor and Inductor Circuit

Fuzzy Inference Model for Learning from Experiences and Its Application to Robot Navigation

Adaptive CQI adjustment with LTE higher-order sectorization

(This lesson plan assumes the students are using an air-powered rocket as described in the Materials section.)

Signal Characteristics

Distributed Tracking in Wireless Ad Hoc Sensor Networks

Statistics-Based Antenna Selection for Multi-Access MIMO systems

Research Article The RSU Access Problem Based on Evolutionary Game Theory for VANET

Signaling Cost Analysis for Handoff Decision Algorithms in Femtocell Networks

Motion-blurred star image acquisition and restoration method based on the separable kernel Honglin Yuana, Fan Lib and Tao Yuc

An Automated Fish Counting Algorithm in Aquaculture Based on Image Processing

A Study on Data Aggregation and Reliability in Managing Wireless Sensor Networks

Lab 3 Acceleration. What You Need To Know: Physics 211 Lab

B-MAC Tunable MAC protocol for wireless networks

Lecture 11. Digital Transmission Fundamentals

Person Tracking in Urban Scenarios by Robots Cooperating with Ubiquitous Sensors

Anti-Jamming Schedules for Wireless Data Broadcast Systems

Efficient burst assembly algorithm with traffic prediction

The Design and Evaluation of a Wireless Sensor Network for Mine Safety Monitoring

BELECTRIC: Enhanced Frequency Control Capability

Principles of Communications

Multiuser Interference in TH-UWB

Installing remote sites using TCP/IP

Dynamic Sounding for Multi-User MIMO in Wireless LANs

Pushing towards the Limit of Sampling Rate: Adaptive Chasing Sampling

Transmit Beamforming with Reduced Feedback Information in OFDM Based Wireless Systems

Variation Aware Cross-Talk Aggressor Alignment by Mixed Integer Linear Programming

Avoid link Breakage in On-Demand Ad-hoc Network Using Packet's Received Time Prediction

A New Design of Private Information Retrieval for Storage Constrained Databases

Adaptive Antenna Array for Reliable OFDM Transmission

Channel Estimation for Wired MIMO Communication Systems

Social-aware Dynamic Router Node Placement in Wireless Mesh Networks

On line Mapping and Global Positioning for autonomous driving in urban environment based on Evidential SLAM

Negative frequency communication

Communication Systems. Department of Electronics and Electrical Engineering

Q-learning Based Adaptive Zone Partition for Load Balancing in Multi-Sink Wireless Sensor Networks

Problem Sheet: Communication Channels Communication Systems

Secure Data Aggregation Technique for Wireless Sensor Networks in the Presence of Collusion Attacks

PREVENTIVE MAINTENANCE WITH IMPERFECT REPAIRS OF VEHICLES

ELEG 3124 SYSTEMS AND SIGNALS Ch. 1 Continuous-Time Signals

Communication Systems. Communication Systems

Performance Evaluation of a MAC Protocol for Radio over Fiber Wireless LAN operating in the 60-GHz band

Key Issue. 3. Media Access. Hidden and Exposed Terminals. Near and Far Terminals. FDD/FDMA General Scheme, Example GSM. Access Methods SDMA/FDMA/TDMA

Volume Author/Editor: Simon Kuznets, assisted by Elizabeth Jenks. Volume URL:

CATrust: Context-Aware Trust Management for Service-Oriented Ad Hoc Networks

Mobility Chapter 5. Rating. First steps Text book. No apps Mission critical. Not really Must have. Overview. Motivation for Mobile IP.

Analog/Digital Communications Primer

A new image security system based on cellular automata and chaotic systems

Communications II LABORATORY : Lab1- Signal Statistics, an Introduction to Simulink and FM

EMF: Embedding Multiple Flows of Information in Existing Traffic for Concurrent Communication among Heterogeneous IoT Devices

Performance Analysis of High-Rate Full-Diversity Space Time Frequency/Space Frequency Codes for Multiuser MIMO-OFDM

f t 2cos 2 Modulator Figure 21: DSB-SC modulation.

Mohammed Ali Hussain et al, / (IJCSIT) International Journal of Computer Science and Information Technologies, Vol. 2 (3), 2011,

Transcription:

DAGSTUHL SEMINAR 342 EPIDEMIC ALGORITHMS AND PROCESSES: FROM THEORY TO APPLICATIONS A Sysems Perspecive Pascal Felber Pascal.Felber@unine.ch hp://iiun.unine.ch/! Gossip proocols Inroducion! Decenralized communicaion proocols inspired by gossip (or rumor spreading) as observed in social neworks! Also called epidemic proocol, as i spreads like a disease! Widely used for:! Informaion disseminaion! Ani-enropy (e.g., compare/reconcile replicas)! Compue aggregaes Informaion Disseminaion! Uniform gossiping is a well-sudied proocol for spreading informaion! I know a secre, I ell wo friends, who ell wo friends,! Formally, each round, everyone who knows he daa sends i o one paricipan a random! Afer O(log n) rounds, all n paricipans know he informaion (wih high probabiliy) [Piel 87] Ani-Enropy! Inroduced for replicaed daabase mainenance [Demers e al. 87]! Every sie regularly chooses anoher sie a random and, by exchanging daabase conens wih i, resolves any differences beween he wo! Updaes evenually (bu slowly) reach he whole populaion! Used for insance in evenually consisen sorage sysems! Replicas updaed lazily

Aggregae Gossiping! Push-Sum proocol [Kempe e al. 3]! Seing: all n paricipans have a value, wan o compue average! In round, node i receives (sum j -, coun j - ) pairs! Compue sum i = Σ j sum j -, coun i = Σ j coun j! Pick node k uniformly from oher nodes! Send (½ sum i, ½ coun i ) o k and o i (self)! Round zero: send (value, ) o self! Conservaion of mass : Σ i sum i says same! Esimae avg = sum i /coun i x (x+y)/2 i y (x+y)/2, 2, ½,3/2 7½,3/4 Push-Sum Convergence 2, 7½, ½,3/4 6, 6,/2 8½,9/8 7½,7/8 9,,3/2 7½,7/8 8½,9/8 Afer O(log n + log /ε + log /δ) rounds, he proocol converges wihin ε# n = number of nodes ε = (relaive) error δ = failure probabiliy Peer Sampling Service Wha s Good wih Gossip?! Provide each node wih a view of live nodes (= small random subse of he sysem)! Iniially, a node has random view! Periodically, conac a node from view and exchange enries (gossip)! Unresponsive nodes removed afer bounded ime! Resul: coninuous flow of random live nodes for use by upper layers! E.g., random node for epidemic disseminaion [Theory]! Algorihmic simpliciy! Easy o model, prove correc, find bounds [Sysems]! Robusness (failures of nodes and links)! Adaped o large-scale dynamic neworks! I jus works in real sysems!! Build o run on unreliable sysem (e.g., UDP)! E.g., Amazon dynamo uses gossip-based membership proocol and failure deecion

Wha s No-so-good wih Gossip? [Theory]! Someimes no so simple! E.g., uniformiy assumpion (Inerne no random)! Simplisic vs. realisic models [Sysems]! Bandwidh overuilizaion (redundancy)! High laency (sabilizaion/convergence)! More srucured gossip is faser, bu impac of failure is higher! Some challenges: NAT raversal, securiy Approximae vs. Exac! Gossip-based proocols ofen provide approximae (or evenual ) resuls! This is ofen sufficien in pracice! Nework size esimaion! Approximae! View membership! Migh be oudaed! Evenual consisency (see CAP heorem)! Will converge if here are no failures for long enough! Random peer sampling (periodic view shuffling)! Someimes no so random Epidemic Proocols: Push vs. Pull Push-based Disseminaion! Push! A s recepion, every node forwards message o f oher nodes, a mos TTL imes! Low laency, high redundancy! Pull! Periodically, every node conacs anoher node and asks for missing messages! High laency, low redundancy! Boh approaches rely on a sampling service o obain random nodes 8 6 4 2 2 Coverage 8 6 4 2 2 FANOUT TTL 2 2 FANOUT TTL Complee disseminaions 2 2 2 2 FANOUT TTL Avg. redundan pushes received, per peer nodes

Noified nodes (percenage) Push vs. Pull: Laency & Redundancy 8 6 4 2 8 6 4 2 8 6 4 2 Useful Useless Noified Push-based, FANOUT = 2 2 2 2 3 4 6 7 8 9 Push-based, FANOUT = 4 98.9% 2 3 4 6 7 8 9 Pull-based 2 2 2 2 2 4 6 8 2 4 6 8 2 Cycles % nodes Messages (useful/useless) A Two-Phase Proocol! Two-phase hybrid approach [Karp e al. ]. Exponenial growh phase (push)! Inform sufficienly many nodes w/ou redundancy 2. Quadraic shrinking phase (pull)! Pull frequency driven by message aciviy! Adap o exploi sequences of messages! Push messages carry informaion for pull phase! Limis useless pulls! Suppors complee disseminaions wih low cos and low laency s Phase! Objecive: inform sufficienly many nodes wih negligible redundancy! 4-% of he nework (based on observaions)! Size of nework N esimaed by sampling service TTL! Choose TTL and f: c = N f i 4.%! Subses of nodes reached by differen messages are no correlaed (random neighbor selecion)! Forwarded messages embed informaion abou previously received messages (drive 2 nd phase) i= 2 nd Phase! Objecive: limi useless pulls! The proocol uses informaion abou missing messages (received during s phase)! Pull frequency adaps according o:! Missing messages! Raio of useful o useless pulls in las period! Pull frequency increases when more messages are being disseminaed! When here is lile aciviy, pull frequency depends on how useful previous pulls have been

Daa Srucures! Every node mainains a sored lis of received messages! H p : Recen hisory (las messages)! T p H p : Trading window (available for ohers)! T p is embedded in messages sen by p o q! If m T p \ H q hen q can reques m from p old messages Hp: recen hisory Tp: rading window B3 A7 C3 B C6 B2 C A A6 C7 C8 B A9 C4 Evaluaion! nodes in a cluser! Reproducing real churn (OverNe race)! 3 nodes from PlaneLab! Heavily loaded machines! Messages sen from random nodes! Communicaion over UDP (i.e., unreliable)! Merics: number of recepions (coverage), laency, evoluion of pull frequency Cluser Coverage vs. Laency ( s Phase, TTL=2) Number of recepions Delays (seconds) Pull replies (/peer, /sec.) 8 6 4 2 2 3 4 8 6 4 2.2.8.6.4.2 9h perc. 7h perc. h perc. 2 3 4 Useful 2h perc. h perc. Useless 2 3 4 Time (sec.) nodes 2 messages ( / 2s) Bandwidh coss: ~3 UDP messages / node / minue Delays (seconds) Push duplicaes (%) 3 2 4 3 2 9h perc. 4. (6).97 (4).7 (2) 6.94 (8) 7h perc. h perc.,4 () 4.4 (2) Push coverage (%) (Fanou) 2h perc. h perc. 8.8 (4) 23. (6)

PlaneLab Adapaion of Pull Frequency 3 Number of recepions Time of recepion (seconds) 2 2 8 6 4 2 2 7 2 7 2 2 9h perc. 7h perc. h perc. 3 nodes 2 messages ( / 3.7s) Bandwidh coss: ~2 UDP messages / node / minue 2h perc. h perc. Only pull: Recepion Delays Disribuion 8 7 6 4 3 2 2 3 4 6 7 2 3 4 6 Time of publicaion (seconds) Only push (Fanou=, TTL=4): Recepion Delays Disribuion 2 7 2 7 2 2 3 4 6 6 4 3 PULP (Fanou=3, TTL=3): Recepion Delays Disribuion 9 h perc. 7 h perc. h perc. 2 h perc. h perc. 2 3 4 6 Messages frequency Pulling period disribuion (seconds) Pull replies (/peer, /second) 2.. 2 4 6 8 2 4 3 2 9h perc. 7h perc. h perc. 2h perc. 2 4 6 8 2 4.. Useful Time (seconds) h perc. Useless 2 4 6 8 2 4 8 6 6 Comparison 4 wih Pull-/Push-only 6 4 3 2 PULP (Fanou=3, TTL=3): Recepion Delays Disribuion 9 h perc. Raio 7 h perc. h perc. 2 h perc. h perc. 2 3 4 6 Only pull: Recepion Delays Disribuion 8 7 6 4 3 2 2 3 4 6 7 h perc. 2 h perc. 2 Hi Raio 4 9 h perc. Dup Raio h perc. h perc. 3 2 3 2 4 6 Message sending rae 2 3 4 6 msg /2s msg /2s Only push (Fanou=, TTL=4): Hi and Duplicae raios 8 7 6 4 2 3 3 4 6 Raio 2 PULP (Fanou=3, TTL=3): Recepion Delays Disribuion Only pull: Recepion Delays Disribuion 2 3 4 6 Only push (Fanou=, TTL=4): Recepion Delays Disribuion 2 7 2 7 2 2 3 4 6 8 6 4 2 Only push (Fanou=, TTL=4): Hi and Duplicae raios Hi Raio Dup Raio 2 3 4 6 Conclusion! Gossip-based proocols are widely used o build large-scale sysems! Decenralized, robus, designed o cope wih node/communicaion failures! Approximae/evenual sufficien in pracice! Can be used o solve wide range of problems! Based on informaion spreading, random sampling, agreemen! From a heoreical perspecive! Simple ye ~realisic models, provable bounds! Resuls are (ofen) direcly applicable Gossip-Based Proocols msg P. Felber /2s Message sending rae msg /2s 2 3 4 6

References [Piel 87] B. Piel. On Spreading a Rumor. In SIAM Journal of Applied Mahemaics, 47() 23-223, 987. [Demers e al. 87] A. Demers, D. Greene, C. Hauser, W. Irish, J. Larson, S. Shenker, H. Surgis, D. Swinehar, D. Terry. Epidemic Algorihms for Replicaed Daabase Mainenance. In ACM Symposium on Principles of Disribued Compuing, 987. [Karp e al. ] R. Karp, C. Schindelhauer, S. Shenker, B. Vocking. Randomized rumour spreading. In IEEE Symposium on Foundaions of Compuer Science, 2. [Kempe e al. 3] D. Kempe, A. Dobra, and J. Gehrke. Compuing aggregaes using gossip. In IEEE Symposium on Foundaions of Compuer Science, 23.