SlideShare a Scribd company logo
1 of 19
DISTRIBUTED
COMPUTING
Prepared by:
Himali A. Parikh
3rd CO
CONTENTS
1. Introduction
2. History
3. Overview
4. Examples of distributed systems
5. Architecture
6. Algorithms
7. Bully Algorithm : In brief
8. Fallacies of distributed computing
9. Problems related to distributed computing
2
INTRODUCTION
Distributed computing:
A field of computer science that studies distributed
systems.
Distributed system:
 Consists of multiple autonomous computers
that communicate through a computer
network
 Use of distributed systems to solve
computational problem
3
HISTORY
The first widespread distributed systems
were local-area networks such as Ethernet
that was invented in the 1970s.
E-mail is the earliest example of a large-
scale distributed application.
The study of distributed computing
became its own branch of computer
science in the late 1970s and early 1980s. 4
OVERVIEW
Early computing
was performed on a
single processor.
Uniprocessor
computing can be
called centralized
computing.
5
A distributed system is a
collection of Independent
computers, interconnected
via a network, capable of
collaborating on a task.
6
EXAMPLES OF DISTRIBUTED SYSTEMS
Internet
ATM machines
Intranets/Workgroups
7
ARCHITECTURE
Various software and hardware architectures used
for distributed computing are as follows:
Client-server
3-tier
 N-tier
Tightly-coupled
Loosely-coupled
Peer-to-peer
8
Client-server architecture
Advantages:
Centralization
Scalability
Flexibility
Interoperability
Disadvantages:
Dependability
Can have a single point of failure.
Server can get overloaded.
Generally more expensive and difficult
to set up initially
9
ALGORITHMS
1. Bully Algorithm- Leader election
2. Byzantine Fault Tolerance
3. Algorithms based on Clock synchronisation
4. Lamport Ordering
5. Algorithms based on Mutual exclusion
6. Snapshot algorithm
7. Algorithms based on Detection of process
termination
8. Vector clocks
10
Leader Election
In distributed computing, leader election is the process of
designating a single process as the organizer, coordinator,
initiator or sequencer of some task distributed among several
computers .
Why Leader Election is required?
The existence of a centralized controller greatly
simplifies process synchronization
However, if the central controller breaks down, the
service availability can be limited
The problem can be alleviated if a new controller
(leader) can be chosen
11
BULLY ALGORITHM
The bully algorithm is a method in distributed computing for
dynamically selecting a coordinator by process ID number.
The Bully Algorithm was devised by Garcia-Molina in 1982.
In this algorithm, the highest-numbered process becomes
coordinator.
Thus the biggest guy in town always wins, hence the name
“Bully Algorithm.”
12
When a process notices that the coordinator is not responding to
requests, it initiates an election.
Bully algorithm makes note of time of by which the process should
respond.
Election is held as follows:
–P sends an ELECTION message to all processes with higher
numbers.
–If no one responds, P wins the election and becomes coordinator.
–If one of the higher-ups answers, it takes over. P’s job over!
13
1.Process 4 holds an election.
2.Process 5 and 6 respond, sending
OK message that , we are UP.
3.Now 5 and 6 each hold an
election
14
4.Process6 tells 5 to stop
5.Process 6 wins and tells everyone
15
Fallacies of distributed computing
1. The network is reliable.
2. Latency is zero.
3. Bandwidth is infinite.
4. The network is secure.
5. Topology doesn't change.
6. There is one administrator.
7. Transport cost is zero.
8. The network is homogeneous.
16
Benefits
Resource sharing
Scalability
Fault tolerance
Availability
Performance
Challenges
Heterogeneity
Latency
Need for “ OPENNESS”
Scalability
Transparency
17
CONCLUSION
18
THANK YOU
19

More Related Content

Viewers also liked

Curiosities1
Curiosities1Curiosities1
Curiosities1kentexas
 
Google Me I'm Famous
Google Me I'm FamousGoogle Me I'm Famous
Google Me I'm Famousaf83media
 
Tech 2.0: Tech Tips to Boost Office Productivity
Tech 2.0: Tech Tips to Boost Office ProductivityTech 2.0: Tech Tips to Boost Office Productivity
Tech 2.0: Tech Tips to Boost Office ProductivityJohn Chen
 
Новый друг лучше старых двух
Новый друг лучше старых двухНовый друг лучше старых двух
Новый друг лучше старых двухPeugeotUA
 
8 investor preztemplate32a
8 investor preztemplate32a8 investor preztemplate32a
8 investor preztemplate32aNat Pham
 
Callture turnkey platform presentation
Callture turnkey platform presentationCallture turnkey platform presentation
Callture turnkey platform presentationCallture Inc
 
"Фокус-группа" - Авторевю №13'2011
"Фокус-группа" - Авторевю №13'2011"Фокус-группа" - Авторевю №13'2011
"Фокус-группа" - Авторевю №13'2011PeugeotUA
 
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014Creative Commons Aotearoa New Zealand Policy Workshop - November 2014
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014Fabiana Kubke
 
Course plan os
Course plan   osCourse plan   os
Course plan osrupalidhir
 
Go Innovate Yourself: Seven Principles Inspired by Steve Jobs
Go Innovate Yourself:  Seven Principles Inspired by Steve JobsGo Innovate Yourself:  Seven Principles Inspired by Steve Jobs
Go Innovate Yourself: Seven Principles Inspired by Steve JobsJohn Chen
 

Viewers also liked (18)

Molabtvx
MolabtvxMolabtvx
Molabtvx
 
Curiosities1
Curiosities1Curiosities1
Curiosities1
 
Google Me I'm Famous
Google Me I'm FamousGoogle Me I'm Famous
Google Me I'm Famous
 
Tech 2.0: Tech Tips to Boost Office Productivity
Tech 2.0: Tech Tips to Boost Office ProductivityTech 2.0: Tech Tips to Boost Office Productivity
Tech 2.0: Tech Tips to Boost Office Productivity
 
Cets 2013 gregory applying learning theories to e_learning design
Cets 2013 gregory applying learning  theories  to e_learning designCets 2013 gregory applying learning  theories  to e_learning design
Cets 2013 gregory applying learning theories to e_learning design
 
Новый друг лучше старых двух
Новый друг лучше старых двухНовый друг лучше старых двух
Новый друг лучше старых двух
 
8 investor preztemplate32a
8 investor preztemplate32a8 investor preztemplate32a
8 investor preztemplate32a
 
Callture turnkey platform presentation
Callture turnkey platform presentationCallture turnkey platform presentation
Callture turnkey platform presentation
 
"Фокус-группа" - Авторевю №13'2011
"Фокус-группа" - Авторевю №13'2011"Фокус-группа" - Авторевю №13'2011
"Фокус-группа" - Авторевю №13'2011
 
Hdfs
HdfsHdfs
Hdfs
 
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014Creative Commons Aotearoa New Zealand Policy Workshop - November 2014
Creative Commons Aotearoa New Zealand Policy Workshop - November 2014
 
Course plan os
Course plan   osCourse plan   os
Course plan os
 
Suitbank
SuitbankSuitbank
Suitbank
 
DinMobile
DinMobileDinMobile
DinMobile
 
Go Innovate Yourself: Seven Principles Inspired by Steve Jobs
Go Innovate Yourself:  Seven Principles Inspired by Steve JobsGo Innovate Yourself:  Seven Principles Inspired by Steve Jobs
Go Innovate Yourself: Seven Principles Inspired by Steve Jobs
 
Cets 2014 kanter wordpress as an lms
Cets 2014 kanter wordpress as an lmsCets 2014 kanter wordpress as an lms
Cets 2014 kanter wordpress as an lms
 
Bgt2
Bgt2Bgt2
Bgt2
 
Get Hired Interview Skills
Get Hired Interview SkillsGet Hired Interview Skills
Get Hired Interview Skills
 

Similar to Distributed computing (2)

An Improved Leader Election Algorithm for Distributed Systems
An Improved Leader Election Algorithm for Distributed SystemsAn Improved Leader Election Algorithm for Distributed Systems
An Improved Leader Election Algorithm for Distributed Systemsijngnjournal
 
Modified Bully Algorithm Incorporating the Concept of Election Commissio...
Modified  Bully  Algorithm  Incorporating  the  Concept of Election Commissio...Modified  Bully  Algorithm  Incorporating  the  Concept of Election Commissio...
Modified Bully Algorithm Incorporating the Concept of Election Commissio...Conference-Proceedings-CrimsonPublishers
 
CN-Module-I (1).pptx
CN-Module-I (1).pptxCN-Module-I (1).pptx
CN-Module-I (1).pptxAllen138499
 
Dynamic Load Calculation in A Distributed System using centralized approach
Dynamic Load Calculation in A Distributed System using centralized approachDynamic Load Calculation in A Distributed System using centralized approach
Dynamic Load Calculation in A Distributed System using centralized approachIJARIIT
 
Computing notes
Computing notesComputing notes
Computing notesthenraju24
 
Grid computing
Grid computingGrid computing
Grid computingJacobSabu2
 
Practical DNP3, 60870.5 & Modern SCADA Communication Systems
Practical DNP3, 60870.5 & Modern SCADA Communication SystemsPractical DNP3, 60870.5 & Modern SCADA Communication Systems
Practical DNP3, 60870.5 & Modern SCADA Communication SystemsLiving Online
 
Chapter one-Introduction to Computer.pptx
Chapter one-Introduction to Computer.pptxChapter one-Introduction to Computer.pptx
Chapter one-Introduction to Computer.pptxgadisaAdamu
 
Leader Election Approach: A Comparison and Survey
Leader Election Approach: A Comparison and SurveyLeader Election Approach: A Comparison and Survey
Leader Election Approach: A Comparison and SurveyEditor Jacotech
 
Leader election approach a comparison and survey
Leader election approach a comparison and surveyLeader election approach a comparison and survey
Leader election approach a comparison and surveyEditor Jacotech
 
EXPLORING PEER-TO-PEER DATA MINING
EXPLORING PEER-TO-PEER DATA MININGEXPLORING PEER-TO-PEER DATA MINING
EXPLORING PEER-TO-PEER DATA MININGcscpconf
 
Exploring Peer-To-Peer Data Mining
Exploring Peer-To-Peer Data MiningExploring Peer-To-Peer Data Mining
Exploring Peer-To-Peer Data Miningcsandit
 
Chapter 1-Microprocessors, Microcomputers, and Assembly Language
Chapter 1-Microprocessors, Microcomputers, and Assembly LanguageChapter 1-Microprocessors, Microcomputers, and Assembly Language
Chapter 1-Microprocessors, Microcomputers, and Assembly Languagecmkandemir
 
parallel computing.ppt
parallel computing.pptparallel computing.ppt
parallel computing.pptssuser413a98
 
Lesson 1 - Introduction to Computer System
Lesson 1 - Introduction to Computer SystemLesson 1 - Introduction to Computer System
Lesson 1 - Introduction to Computer SystemAndy Adovas
 
Fault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsFault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsAIRCC Publishing Corporation
 
Fault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsFault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsAIRCC Publishing Corporation
 

Similar to Distributed computing (2) (20)

An Improved Leader Election Algorithm for Distributed Systems
An Improved Leader Election Algorithm for Distributed SystemsAn Improved Leader Election Algorithm for Distributed Systems
An Improved Leader Election Algorithm for Distributed Systems
 
Modified Bully Algorithm Incorporating the Concept of Election Commissio...
Modified  Bully  Algorithm  Incorporating  the  Concept of Election Commissio...Modified  Bully  Algorithm  Incorporating  the  Concept of Election Commissio...
Modified Bully Algorithm Incorporating the Concept of Election Commissio...
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Distributed System
Distributed System Distributed System
Distributed System
 
CN-Module-I (1).pptx
CN-Module-I (1).pptxCN-Module-I (1).pptx
CN-Module-I (1).pptx
 
Dynamic Load Calculation in A Distributed System using centralized approach
Dynamic Load Calculation in A Distributed System using centralized approachDynamic Load Calculation in A Distributed System using centralized approach
Dynamic Load Calculation in A Distributed System using centralized approach
 
Computing notes
Computing notesComputing notes
Computing notes
 
Grid computing
Grid computingGrid computing
Grid computing
 
Practical DNP3, 60870.5 & Modern SCADA Communication Systems
Practical DNP3, 60870.5 & Modern SCADA Communication SystemsPractical DNP3, 60870.5 & Modern SCADA Communication Systems
Practical DNP3, 60870.5 & Modern SCADA Communication Systems
 
Chapter one-Introduction to Computer.pptx
Chapter one-Introduction to Computer.pptxChapter one-Introduction to Computer.pptx
Chapter one-Introduction to Computer.pptx
 
Leader Election Approach: A Comparison and Survey
Leader Election Approach: A Comparison and SurveyLeader Election Approach: A Comparison and Survey
Leader Election Approach: A Comparison and Survey
 
Leader election approach a comparison and survey
Leader election approach a comparison and surveyLeader election approach a comparison and survey
Leader election approach a comparison and survey
 
EXPLORING PEER-TO-PEER DATA MINING
EXPLORING PEER-TO-PEER DATA MININGEXPLORING PEER-TO-PEER DATA MINING
EXPLORING PEER-TO-PEER DATA MINING
 
Exploring Peer-To-Peer Data Mining
Exploring Peer-To-Peer Data MiningExploring Peer-To-Peer Data Mining
Exploring Peer-To-Peer Data Mining
 
Chapter 1-Microprocessors, Microcomputers, and Assembly Language
Chapter 1-Microprocessors, Microcomputers, and Assembly LanguageChapter 1-Microprocessors, Microcomputers, and Assembly Language
Chapter 1-Microprocessors, Microcomputers, and Assembly Language
 
parallel computing.ppt
parallel computing.pptparallel computing.ppt
parallel computing.ppt
 
Lesson 1 - Introduction to Computer System
Lesson 1 - Introduction to Computer SystemLesson 1 - Introduction to Computer System
Lesson 1 - Introduction to Computer System
 
Fault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsFault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed Systems
 
Fault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed SystemsFault Tolerant Leader Election in Distributed Systems
Fault Tolerant Leader Election in Distributed Systems
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Distributed computing (2)

  • 2. CONTENTS 1. Introduction 2. History 3. Overview 4. Examples of distributed systems 5. Architecture 6. Algorithms 7. Bully Algorithm : In brief 8. Fallacies of distributed computing 9. Problems related to distributed computing 2
  • 3. INTRODUCTION Distributed computing: A field of computer science that studies distributed systems. Distributed system:  Consists of multiple autonomous computers that communicate through a computer network  Use of distributed systems to solve computational problem 3
  • 4. HISTORY The first widespread distributed systems were local-area networks such as Ethernet that was invented in the 1970s. E-mail is the earliest example of a large- scale distributed application. The study of distributed computing became its own branch of computer science in the late 1970s and early 1980s. 4
  • 5. OVERVIEW Early computing was performed on a single processor. Uniprocessor computing can be called centralized computing. 5
  • 6. A distributed system is a collection of Independent computers, interconnected via a network, capable of collaborating on a task. 6
  • 7. EXAMPLES OF DISTRIBUTED SYSTEMS Internet ATM machines Intranets/Workgroups 7
  • 8. ARCHITECTURE Various software and hardware architectures used for distributed computing are as follows: Client-server 3-tier  N-tier Tightly-coupled Loosely-coupled Peer-to-peer 8
  • 9. Client-server architecture Advantages: Centralization Scalability Flexibility Interoperability Disadvantages: Dependability Can have a single point of failure. Server can get overloaded. Generally more expensive and difficult to set up initially 9
  • 10. ALGORITHMS 1. Bully Algorithm- Leader election 2. Byzantine Fault Tolerance 3. Algorithms based on Clock synchronisation 4. Lamport Ordering 5. Algorithms based on Mutual exclusion 6. Snapshot algorithm 7. Algorithms based on Detection of process termination 8. Vector clocks 10
  • 11. Leader Election In distributed computing, leader election is the process of designating a single process as the organizer, coordinator, initiator or sequencer of some task distributed among several computers . Why Leader Election is required? The existence of a centralized controller greatly simplifies process synchronization However, if the central controller breaks down, the service availability can be limited The problem can be alleviated if a new controller (leader) can be chosen 11
  • 12. BULLY ALGORITHM The bully algorithm is a method in distributed computing for dynamically selecting a coordinator by process ID number. The Bully Algorithm was devised by Garcia-Molina in 1982. In this algorithm, the highest-numbered process becomes coordinator. Thus the biggest guy in town always wins, hence the name “Bully Algorithm.” 12
  • 13. When a process notices that the coordinator is not responding to requests, it initiates an election. Bully algorithm makes note of time of by which the process should respond. Election is held as follows: –P sends an ELECTION message to all processes with higher numbers. –If no one responds, P wins the election and becomes coordinator. –If one of the higher-ups answers, it takes over. P’s job over! 13
  • 14. 1.Process 4 holds an election. 2.Process 5 and 6 respond, sending OK message that , we are UP. 3.Now 5 and 6 each hold an election 14
  • 15. 4.Process6 tells 5 to stop 5.Process 6 wins and tells everyone 15
  • 16. Fallacies of distributed computing 1. The network is reliable. 2. Latency is zero. 3. Bandwidth is infinite. 4. The network is secure. 5. Topology doesn't change. 6. There is one administrator. 7. Transport cost is zero. 8. The network is homogeneous. 16