SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
Overlapping Ring
Monitoring Algorithm
in TIPC
Jon Maloy, Ericsson Canada Inc. Montreal
April 7th 2017
When a cluster node becomes unresponsive due to
crash, reboot or lost connectivity we want to:
 Have all affected connections on the remaining nodes aborted
 Inform other users who have subscribed for cluster connectivity
events
 Within a well-defined short interval from the occurrence of the
event
PURPOSE
1) Crank up the connection keepalive timer
 Network and CPU load quickly gets out of hand when there are thousands of connections
 Does not provide a neighbor monitoring service that can be used by others
2) Dedicated full-mesh framework of per-node daemons with
frequently probed connections
 Even here monitoring traffic becomes overwhelming when cluster size > 100 nodes
 Does not automatically abort any other connections
COMMON SOLUTIONS
 Full-mesh framework of frequently probed node-to-node “links”
 At kernel level
 Provides generic neighbor monitoring service
 Each link endpoint keeps track of all connections to peer node
 Issues “ABORT” message to its local socket endpoints when connectivity to peer node is lost
 Even this solution causes excessive traffic beyond ~100 nodes
 CPU load grows with ~N
 Network load grows with ~N*(N-1)
TIPC SOLUTION: HIERARCHY + FULL MESH
 Each node monitors its two nearest neighbors by heatbeats
 Low monitoring network overhead, - increases by ~2*N
 Node loss can also be detected through loss of an iterating token
 Both solutions offered by Corosync
 Hard to handle accidental network partitioning
 How do we detect loss of nodes not adjacent to fracture point in opposite partition?
 Consensus on ring topology required
OTHER SOLUTION: RING
 Each node periodically transmits its known network view to a
randomly selected set of known neighbors
 Each node knows and monitors only a subset of all nodes
 Scales extremely well
 Used by BitTorrent client Tribler
 Non-deterministic delay until all cluster nodes are informed
 Potentially very long because of the periodic and random nature of event propagation
 Unpredictable number of generations to reach last node
 Extra network overhead because of duplicate information spreading
OTHER SOLUTION: GOSSIP PROTOCOL
THE CHALLENGE
Finding an algorithm which:
 Has the scalability of Gossip, but with
 A deterministic set of peer nodes to monitor and update from each node
 A predictable number of propagation generations before all nodes are reached
 Predictable, well-defined and short event propagation delay
 Has the light-weight properties of ring monitoring, but
 Is able to handle accidental network partitioning
 Has the full-mesh link connectivity of TIPC, but
 Does not require full-mesh active monitoring
THE ANSWER:
OVERLAPPING RING MONITORING
 Sort all cluster nodes into a circular list
 All nodes use same algorithm and criteria
 Select next [√N] - 1 downstream nodes in the
list as “local domain” to be actively monitored
 CPU load increases by ~√N
 Distribute a record describing the local domain
to all other nodes in the cluster
 Select and monitor a set of “head” nodes outside
the local domain so that no node is more than
two active monitoring hops away
 There will be [√N] - 1 such nodes
 Guarantees failure discovery even at
accidental network partitioning
 Each node now monitors 2 x (√N – 1) neighbors
‱ 6 neighbors in a 16 node cluster
‱ 56 neighbors in an 800 node cluster
 All nodes use this algorithm
 In total 2 x (√N - 1) x N actively monitored links
‱ 96 links in a 16 node cluster
‱ 44,800 links in an 800 node cluster
+ x N =
(√N – 1) Local Domain
Destinations
(√N – 1) Remote
“Head” Destinations
2 x N x (√N – 1) Actively
Monitored Links
LOSS OF LOCAL DOMAIN NODE
State change of local
domain node detected
1
 A domain record is sent to all other nodes in cluster when any state change
(discovery, loss, re-establish) is detected in a local domain node
 The record keeps a generation id, so the receiver can know if it really
contains a change before it starts parsing and applying it
 It is piggy-backed on regular unicast link state/probe messages, which must
always be sent out after a domain state change
 May be sent several times until the receiver acknowledges reception of the
current generation
 Because probing is driven by a background timer, it may take up to 375 ms
(configurable) until all nodes are updated
1
Domain record distributed to
all other nodes in cluster
LOSS OF ACTIVELY MONITORED HEAD NODE
Node failure detected Brief confirmation probing of
lost node’s domain members
After recalculation
 The two-hop criteria plus confirmation probing eliminates the
network partitioning problem
 If we really have a partition worst-case failure detection time will be
 Tfailmax = 2 x active failure detection time
 Active failure detection time is configurable
 50 ms – 10 s
 Default 1.5 s in TIPC/Linux 4.7
Actively monitored nodes outside local domain
LOSS OF INDIRECTLY MONITORED NODE
Actively monitoring neighbors
discover failure
Actively monitoring neighbors
report failure
 Max one event propagation hop
 Near uniform failure detection time across the whole cluster
 Tfailmax = active failure detection time + (1 x event propagation hop time)
Actively monitored nodes outside local domain
DIFFERING NETWORK VIEWS
1
A node has discovered a peer that
nobody else is monitoring
 Actively monitor that node
 Add it to its circular list according to algorithm (as local domain
member or “head”)
 Handle its domain members according to algorithm (“applied”
or “non-applied”)
 Continue calculating the monitoring view from the next peer
Actively monitored nodes outside local domain
1
A node is unable to discover a peer
that others are monitoring
 Don’t add the peer to the circular list
 Ignore it during the calculation of the monitoring view
 Keep it as “non-applied” in the copies of received domain records
 Apply it to the monitoring view if it is discovered at a later moment
Transiently, this happens all the time, and must be considered a normal situation
STATUS LISTING OF 16 NODE CLUSTER
5
13
9
1
STATUS LISTING OF 600 NODE CLUSTER
THE END

Weitere Àhnliche Inhalte

Was ist angesagt?

Fun with Network Interfaces
Fun with Network InterfacesFun with Network Interfaces
Fun with Network InterfacesKernel TLV
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack monad bobo
 
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data Center
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data CenterPLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data Center
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data CenterPROIDEA
 
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating SystemThomas Graf
 
netfilter and iptables
netfilter and iptablesnetfilter and iptables
netfilter and iptablesKernel TLV
 
DPDK KNI interface
DPDK KNI interfaceDPDK KNI interface
DPDK KNI interfaceDenys Haryachyy
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking ExplainedThomas Graf
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchTe-Yen Liu
 
Understanding DPDK algorithmics
Understanding DPDK algorithmicsUnderstanding DPDK algorithmics
Understanding DPDK algorithmicsDenys Haryachyy
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelDivye Kapoor
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlKentaro Ebisawa
 
Demystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesDemystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesCumulus Networks
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internalsmukul bhardwaj
 
BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR Bertrand Duvivier
 
Debug dpdk process bottleneck & painpoints
Debug dpdk process bottleneck & painpointsDebug dpdk process bottleneck & painpoints
Debug dpdk process bottleneck & painpointsVipin Varghese
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecturehugo lu
 

Was ist angesagt? (20)

Fun with Network Interfaces
Fun with Network InterfacesFun with Network Interfaces
Fun with Network Interfaces
 
introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack introduction to linux kernel tcp/ip ptocotol stack
introduction to linux kernel tcp/ip ptocotol stack
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data Center
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data CenterPLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data Center
PLNOG 13: Emil GągaƂa: EVPN – rozwiązanie nie tylko dla Data Center
 
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
BPF  & Cilium - Turning Linux into a Microservices-aware Operating SystemBPF  & Cilium - Turning Linux into a Microservices-aware Operating System
BPF & Cilium - Turning Linux into a Microservices-aware Operating System
 
netfilter and iptables
netfilter and iptablesnetfilter and iptables
netfilter and iptables
 
DPDK KNI interface
DPDK KNI interfaceDPDK KNI interface
DPDK KNI interface
 
Linux Networking Explained
Linux Networking ExplainedLinux Networking Explained
Linux Networking Explained
 
RTP & RTCP
RTP & RTCPRTP & RTCP
RTP & RTCP
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
Understanding DPDK algorithmics
Understanding DPDK algorithmicsUnderstanding DPDK algorithmics
Understanding DPDK algorithmics
 
The TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux KernelThe TCP/IP Stack in the Linux Kernel
The TCP/IP Stack in the Linux Kernel
 
Making Linux do Hard Real-time
Making Linux do Hard Real-timeMaking Linux do Hard Real-time
Making Linux do Hard Real-time
 
Using GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnlUsing GTP on Linux with libgtpnl
Using GTP on Linux with libgtpnl
 
Demystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesDemystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode series
 
eBPF maps 101
eBPF maps 101eBPF maps 101
eBPF maps 101
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 
BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR BGP Graceful Shutdown - IOS XR
BGP Graceful Shutdown - IOS XR
 
Debug dpdk process bottleneck & painpoints
Debug dpdk process bottleneck & painpointsDebug dpdk process bottleneck & painpoints
Debug dpdk process bottleneck & painpoints
 
The linux networking architecture
The linux networking architectureThe linux networking architecture
The linux networking architecture
 

Ähnlich wie Overlapping Ping Monitoring

Routing in Wireless Sensor Network
Routing in Wireless Sensor NetworkRouting in Wireless Sensor Network
Routing in Wireless Sensor NetworkAarthi Raghavendra
 
ieeeeeee802.ppt
ieeeeeee802.pptieeeeeee802.ppt
ieeeeeee802.pptLautaroRondan
 
Intro to DTN and routing classification
Intro to DTN and routing classificationIntro to DTN and routing classification
Intro to DTN and routing classificationShivi Shukla
 
Dist deadlock sureka
Dist deadlock surekaDist deadlock sureka
Dist deadlock surekaArun Kannan
 
Cassandra basic
Cassandra basicCassandra basic
Cassandra basiczqhxuyuan
 
Multiple Access Methods
Multiple Access MethodsMultiple Access Methods
Multiple Access MethodsPrateek Soni
 
Frame counting: achieve accurate and real-time link estimation for low power ...
Frame counting: achieve accurate and real-time link estimation for low power ...Frame counting: achieve accurate and real-time link estimation for low power ...
Frame counting: achieve accurate and real-time link estimation for low power ...Daibo Liu
 
rain technology
rain technology rain technology
rain technology narayan dudhe
 
Security Support in In-Network Processing & analysis of key management in WSN
Security Support in In-Network  Processing & analysis of key management in  WSNSecurity Support in In-Network  Processing & analysis of key management in  WSN
Security Support in In-Network Processing & analysis of key management in WSNvik001ind
 
Protocols for wireless sensor networks
Protocols for wireless sensor networks Protocols for wireless sensor networks
Protocols for wireless sensor networks DEBABRATASINGH3
 
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor Networks
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor NetworksNode Legitimacy Based False Data Filtering Scheme in Wireless Sensor Networks
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor NetworksEswar Publications
 
Fault tolerance in wsn
Fault tolerance in wsnFault tolerance in wsn
Fault tolerance in wsnElham Hormozi
 
Floodlight OpenFlow DDoS
Floodlight OpenFlow DDoSFloodlight OpenFlow DDoS
Floodlight OpenFlow DDoSYoav Francis
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learningJunaid Bhat
 
Topic5
Topic5Topic5
Topic5hinalala
 

Ähnlich wie Overlapping Ping Monitoring (20)

ieee 802.4
ieee 802.4ieee 802.4
ieee 802.4
 
Rain Technology
Rain TechnologyRain Technology
Rain Technology
 
Routing in Wireless Sensor Network
Routing in Wireless Sensor NetworkRouting in Wireless Sensor Network
Routing in Wireless Sensor Network
 
ieeeeeee802.ppt
ieeeeeee802.pptieeeeeee802.ppt
ieeeeeee802.ppt
 
Intro to DTN and routing classification
Intro to DTN and routing classificationIntro to DTN and routing classification
Intro to DTN and routing classification
 
Dist deadlock sureka
Dist deadlock surekaDist deadlock sureka
Dist deadlock sureka
 
Cassandra basic
Cassandra basicCassandra basic
Cassandra basic
 
Multiple Access Methods
Multiple Access MethodsMultiple Access Methods
Multiple Access Methods
 
Frame counting: achieve accurate and real-time link estimation for low power ...
Frame counting: achieve accurate and real-time link estimation for low power ...Frame counting: achieve accurate and real-time link estimation for low power ...
Frame counting: achieve accurate and real-time link estimation for low power ...
 
rain technology
rain technology rain technology
rain technology
 
Security Support in In-Network Processing & analysis of key management in WSN
Security Support in In-Network  Processing & analysis of key management in  WSNSecurity Support in In-Network  Processing & analysis of key management in  WSN
Security Support in In-Network Processing & analysis of key management in WSN
 
Protocols for wireless sensor networks
Protocols for wireless sensor networks Protocols for wireless sensor networks
Protocols for wireless sensor networks
 
datalink.ppt
datalink.pptdatalink.ppt
datalink.ppt
 
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor Networks
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor NetworksNode Legitimacy Based False Data Filtering Scheme in Wireless Sensor Networks
Node Legitimacy Based False Data Filtering Scheme in Wireless Sensor Networks
 
Fault tolerance in wsn
Fault tolerance in wsnFault tolerance in wsn
Fault tolerance in wsn
 
Floodlight OpenFlow DDoS
Floodlight OpenFlow DDoSFloodlight OpenFlow DDoS
Floodlight OpenFlow DDoS
 
Introduction to deep learning
Introduction to deep learningIntroduction to deep learning
Introduction to deep learning
 
Topic5
Topic5Topic5
Topic5
 
Osi l ayers
Osi l ayersOsi l ayers
Osi l ayers
 
Can ppt
Can pptCan ppt
Can ppt
 

KĂŒrzlich hochgeladen

Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...SofiyaSharma5
 
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...tanu pandey
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.soniya singh
 
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goahorny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goasexy call girls service in goa
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Call Girls in Nagpur High Profile
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 

KĂŒrzlich hochgeladen (20)

Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔☆9289244007✔☆ Female E...
 
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❀ 7710465962 Independent Call Girls In C...
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
â‚č5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goahorny (9316020077 ) Goa  Call Girls Service by VIP Call Girls in Goa
horny (9316020077 ) Goa Call Girls Service by VIP Call Girls in Goa
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...Top Rated  Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
Top Rated Pune Call Girls Daund ⟟ 6297143586 ⟟ Call Me For Genuine Sex Servi...
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
đ“€€Call On 7877925207 đ“€€ Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 

Overlapping Ping Monitoring

  • 1. Overlapping Ring Monitoring Algorithm in TIPC Jon Maloy, Ericsson Canada Inc. Montreal April 7th 2017
  • 2. When a cluster node becomes unresponsive due to crash, reboot or lost connectivity we want to:  Have all affected connections on the remaining nodes aborted  Inform other users who have subscribed for cluster connectivity events  Within a well-defined short interval from the occurrence of the event PURPOSE
  • 3. 1) Crank up the connection keepalive timer  Network and CPU load quickly gets out of hand when there are thousands of connections  Does not provide a neighbor monitoring service that can be used by others 2) Dedicated full-mesh framework of per-node daemons with frequently probed connections  Even here monitoring traffic becomes overwhelming when cluster size > 100 nodes  Does not automatically abort any other connections COMMON SOLUTIONS
  • 4.  Full-mesh framework of frequently probed node-to-node “links”  At kernel level  Provides generic neighbor monitoring service  Each link endpoint keeps track of all connections to peer node  Issues “ABORT” message to its local socket endpoints when connectivity to peer node is lost  Even this solution causes excessive traffic beyond ~100 nodes  CPU load grows with ~N  Network load grows with ~N*(N-1) TIPC SOLUTION: HIERARCHY + FULL MESH
  • 5.  Each node monitors its two nearest neighbors by heatbeats  Low monitoring network overhead, - increases by ~2*N  Node loss can also be detected through loss of an iterating token  Both solutions offered by Corosync  Hard to handle accidental network partitioning  How do we detect loss of nodes not adjacent to fracture point in opposite partition?  Consensus on ring topology required OTHER SOLUTION: RING
  • 6.  Each node periodically transmits its known network view to a randomly selected set of known neighbors  Each node knows and monitors only a subset of all nodes  Scales extremely well  Used by BitTorrent client Tribler  Non-deterministic delay until all cluster nodes are informed  Potentially very long because of the periodic and random nature of event propagation  Unpredictable number of generations to reach last node  Extra network overhead because of duplicate information spreading OTHER SOLUTION: GOSSIP PROTOCOL
  • 7. THE CHALLENGE Finding an algorithm which:  Has the scalability of Gossip, but with  A deterministic set of peer nodes to monitor and update from each node  A predictable number of propagation generations before all nodes are reached  Predictable, well-defined and short event propagation delay  Has the light-weight properties of ring monitoring, but  Is able to handle accidental network partitioning  Has the full-mesh link connectivity of TIPC, but  Does not require full-mesh active monitoring
  • 8. THE ANSWER: OVERLAPPING RING MONITORING  Sort all cluster nodes into a circular list  All nodes use same algorithm and criteria  Select next [√N] - 1 downstream nodes in the list as “local domain” to be actively monitored  CPU load increases by ~√N  Distribute a record describing the local domain to all other nodes in the cluster  Select and monitor a set of “head” nodes outside the local domain so that no node is more than two active monitoring hops away  There will be [√N] - 1 such nodes  Guarantees failure discovery even at accidental network partitioning  Each node now monitors 2 x (√N – 1) neighbors ‱ 6 neighbors in a 16 node cluster ‱ 56 neighbors in an 800 node cluster  All nodes use this algorithm  In total 2 x (√N - 1) x N actively monitored links ‱ 96 links in a 16 node cluster ‱ 44,800 links in an 800 node cluster + x N = (√N – 1) Local Domain Destinations (√N – 1) Remote “Head” Destinations 2 x N x (√N – 1) Actively Monitored Links
  • 9. LOSS OF LOCAL DOMAIN NODE State change of local domain node detected 1  A domain record is sent to all other nodes in cluster when any state change (discovery, loss, re-establish) is detected in a local domain node  The record keeps a generation id, so the receiver can know if it really contains a change before it starts parsing and applying it  It is piggy-backed on regular unicast link state/probe messages, which must always be sent out after a domain state change  May be sent several times until the receiver acknowledges reception of the current generation  Because probing is driven by a background timer, it may take up to 375 ms (configurable) until all nodes are updated 1 Domain record distributed to all other nodes in cluster
  • 10. LOSS OF ACTIVELY MONITORED HEAD NODE Node failure detected Brief confirmation probing of lost node’s domain members After recalculation  The two-hop criteria plus confirmation probing eliminates the network partitioning problem  If we really have a partition worst-case failure detection time will be  Tfailmax = 2 x active failure detection time  Active failure detection time is configurable  50 ms – 10 s  Default 1.5 s in TIPC/Linux 4.7 Actively monitored nodes outside local domain
  • 11. LOSS OF INDIRECTLY MONITORED NODE Actively monitoring neighbors discover failure Actively monitoring neighbors report failure  Max one event propagation hop  Near uniform failure detection time across the whole cluster  Tfailmax = active failure detection time + (1 x event propagation hop time) Actively monitored nodes outside local domain
  • 12. DIFFERING NETWORK VIEWS 1 A node has discovered a peer that nobody else is monitoring  Actively monitor that node  Add it to its circular list according to algorithm (as local domain member or “head”)  Handle its domain members according to algorithm (“applied” or “non-applied”)  Continue calculating the monitoring view from the next peer Actively monitored nodes outside local domain 1 A node is unable to discover a peer that others are monitoring  Don’t add the peer to the circular list  Ignore it during the calculation of the monitoring view  Keep it as “non-applied” in the copies of received domain records  Apply it to the monitoring view if it is discovered at a later moment Transiently, this happens all the time, and must be considered a normal situation
  • 13. STATUS LISTING OF 16 NODE CLUSTER 5 13 9 1
  • 14. STATUS LISTING OF 600 NODE CLUSTER