SlideShare a Scribd company logo
1 of 14
O(n log n ) Algorithm for Asynchronous leader
election
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
10,0,1
reply
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
22,0,1
10,0,1
22,0,1
11,0,111,0,1
66,0,166,0,1
50,0,150,0,1
44,0,144,0,1
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
10,0,1
reply
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
22,0,1
10,0,1
22,0,1
11,0,111,0,1
66,0,166,0,1
50,0,150,0,1
44,0,144,0,1
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
10,0,1
reply
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
22,0,1
10,0,1
22,0,1
11,0,1
66,0,1
66,0,1
50,0,1
50,0,1
44,0,1
44,0,1
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
22,0,1
22,0,1
11,0,1
66,0,1
66,0,1
50,0,1
50,0,1
44,0,1
44,0,1
22,0
22,0
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
11,0,1
66,0,1
66,0,1
50,0,1
50,0,1
44,0,1
44,0,1
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
66,0,1
66,0,1
50,0,1
50,0,1
44,0,1
44,0,1
66,0
66,0
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
50,0,1
50,0,1
44,0,1
44,0,1
44,0
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
44,0,1
44,0,1
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
O(n log n ) Algorithm for Asynchronous leader
election
10
22
11
66
44
50
Id, phase
number
K- Neighbourhood. Processors at distance K ,
K = 0,1,2,3…
Hop (d) or distance : Distance at which we will ping
processor
id, phase , distance probe
66,0,1
66,0,1
O(n log n ) Algorithm for Asynchronous leader
election
• https://www.youtube.com/watch?v=Ej4q4Bx4-go

More Related Content

Similar to Leader election nlogn (1)

2_1 Edit Distance.pptx
2_1 Edit Distance.pptx2_1 Edit Distance.pptx
2_1 Edit Distance.pptx
tanishamahajan11
 
Semester2FinalPresentation
Semester2FinalPresentationSemester2FinalPresentation
Semester2FinalPresentation
Michael Wilson
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Poggi analytics - distance - 1a
Poggi   analytics - distance - 1aPoggi   analytics - distance - 1a
Poggi analytics - distance - 1a
Gaston Liberman
 
11.a novel neural network classifier for brain computer
11.a novel neural network classifier for brain computer11.a novel neural network classifier for brain computer
11.a novel neural network classifier for brain computer
Alexander Decker
 

Similar to Leader election nlogn (1) (20)

EC8553 Discrete time signal processing
EC8553 Discrete time signal processing EC8553 Discrete time signal processing
EC8553 Discrete time signal processing
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
Basics of channel coding
Basics of channel codingBasics of channel coding
Basics of channel coding
 
2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptx2_EditDistance_Jan_08_2020.pptx
2_EditDistance_Jan_08_2020.pptx
 
2_1 Edit Distance.pptx
2_1 Edit Distance.pptx2_1 Edit Distance.pptx
2_1 Edit Distance.pptx
 
Image Texture Analysis
Image Texture AnalysisImage Texture Analysis
Image Texture Analysis
 
Codes and Isogenies
Codes and IsogeniesCodes and Isogenies
Codes and Isogenies
 
A Discrete Optimization Approach for SVD Best Truncation Choice based on ROC ...
A Discrete Optimization Approach for SVD Best Truncation Choice based on ROC ...A Discrete Optimization Approach for SVD Best Truncation Choice based on ROC ...
A Discrete Optimization Approach for SVD Best Truncation Choice based on ROC ...
 
Semester2FinalPresentation
Semester2FinalPresentationSemester2FinalPresentation
Semester2FinalPresentation
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
3320 cyclic codes.ppt
3320 cyclic codes.ppt3320 cyclic codes.ppt
3320 cyclic codes.ppt
 
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by OraclesEfficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
Efficient Volume and Edge-Skeleton Computation for Polytopes Given by Oracles
 
zkStudyClub: HyperPlonk (Binyi Chen, Benedikt Bünz)
zkStudyClub: HyperPlonk (Binyi Chen, Benedikt Bünz)zkStudyClub: HyperPlonk (Binyi Chen, Benedikt Bünz)
zkStudyClub: HyperPlonk (Binyi Chen, Benedikt Bünz)
 
7 convolutional codes
7 convolutional codes7 convolutional codes
7 convolutional codes
 
Seq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) modelSeq2Seq (encoder decoder) model
Seq2Seq (encoder decoder) model
 
Poggi analytics - distance - 1a
Poggi   analytics - distance - 1aPoggi   analytics - distance - 1a
Poggi analytics - distance - 1a
 
11.a novel neural network classifier for brain computer
11.a novel neural network classifier for brain computer11.a novel neural network classifier for brain computer
11.a novel neural network classifier for brain computer
 
A novel neural network classifier for brain computer
A novel neural network classifier for brain computerA novel neural network classifier for brain computer
A novel neural network classifier for brain computer
 
An Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH DecoderAn Efficient Interpolation-Based Chase BCH Decoder
An Efficient Interpolation-Based Chase BCH Decoder
 
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding AlgorithmFixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
 

Recently uploaded

Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 

Leader election nlogn (1)

  • 1. O(n log n ) Algorithm for Asynchronous leader election
  • 2. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 10,0,1 reply K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 22,0,1 10,0,1 22,0,1 11,0,111,0,1 66,0,166,0,1 50,0,150,0,1 44,0,144,0,1
  • 3. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 10,0,1 reply K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 22,0,1 10,0,1 22,0,1 11,0,111,0,1 66,0,166,0,1 50,0,150,0,1 44,0,144,0,1
  • 4. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 10,0,1 reply K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 22,0,1 10,0,1 22,0,1 11,0,1 66,0,1 66,0,1 50,0,1 50,0,1 44,0,1 44,0,1
  • 5. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 22,0,1 22,0,1 11,0,1 66,0,1 66,0,1 50,0,1 50,0,1 44,0,1 44,0,1 22,0 22,0
  • 6. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 11,0,1 66,0,1 66,0,1 50,0,1 50,0,1 44,0,1 44,0,1
  • 7. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 66,0,1 66,0,1 50,0,1 50,0,1 44,0,1 44,0,1 66,0 66,0
  • 8. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 50,0,1 50,0,1 44,0,1 44,0,1 44,0
  • 9. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 44,0,1 44,0,1
  • 10. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe
  • 11. O(n log n ) Algorithm for Asynchronous leader election 10 22 11 66 44 50 Id, phase number K- Neighbourhood. Processors at distance K , K = 0,1,2,3… Hop (d) or distance : Distance at which we will ping processor id, phase , distance probe 66,0,1 66,0,1
  • 12.
  • 13. O(n log n ) Algorithm for Asynchronous leader election