SlideShare a Scribd company logo
Distributed Computing
EG 3113 CT Diploma in Computer Engineering
5th Semester
Unit 3.1 Fundamental Concept of Distributed System
Lecture by : Er. Ashish K.C(Khatri)
Introduction to Distributed Computing:
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 2
Introduction to Distributed System:
• A distributed system is a collection of independent computers at networked
locations such that they communicate and interact only through message passing
that is viewed as a single coherent system by its users.
• Generally, all the components of the distributed system interact so as to obtain a
common goal.
• A computer program running in distributed system is called distributed program.
• Distributed programming is used to write distributed programs.
• It differs from parallel system as each computer in a distributed system has its own
memory i.e. distributed memory; but in parallel system, all processors have access
to shared memory for information exchange.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 3
• A distributed system, also known as distributed computing, is a system with
multiple components located on different machines that communicate and
coordinate actions in order to appear as a single coherent system to the end-user.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 4
Examples of distributed computing :
• Intranets, Internet, WWW, email
• Telecommunication networks: Telephone networks and Cellular networks.
• The network of branch office computers -Information system to handle automatic
processing of orders,
• Real-time process control: Aircraft control systems,
• Electronic banking,
• Airline reservation systems,
• Sensor networks,
• Mobile and Pervasive Computing systems.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 5
Assignment:
Prepare the presentation slides on
Electronic Banking.
Centralized System:
• Centralized systems are systems that use client/server architecture where one or
more client nodes are directly connected to a central server.
• This is the most commonly used type of system in many organizations where
client sends a request to a company server and receives the response.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 6
Characteristics of Centralized System:
• Presence of a global clock: As the entire system consists of a central node(a
server/ a master) and many client nodes(a computer/ a slave), all client nodes sync
up with the global clock(the clock of the central node).
• One single central unit: One single central unit which serves/coordinates all the
other nodes in the system.
• Dependent failure of components: Central node failure causes entire system to
fail. This makes sense because when the server is down, no other entity is there to
send/receive response/requests.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 7
Distributed System Vs Centralized System:
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 8
Distributed System Vs Centralized System:
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 9
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 10
Main Characteristics of Distributed System:
• Concurrency
• No global clock
• Independent failures
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 11
1. Concurrency:
• Distributed system allows the programs that share resources to execute
concurrently(i.e. At the same time).
• It is a property that enables processes running in different machines to form a
common system that is capable of executing codes on multiple machines at the
same time.
• Example: A web application is concurrent as it can be used by various users at the
same time.
• Concurrency helps to reduce latency and increase throughput as a unit of work can
be concurrently done by sub-division.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 12
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 13
2. No Global Clock:
• In other to coordinate to the remote networks it is necessary to synchronize clock
in primitive technologies.
• But as there is no single correct global timing system, it is very difficult to
synchronize global clock across all the networks of the system located at different
locations.
• The main characteristics of the distributed system is that it does not need any
global clock system to coordinate with the network at different locations because
the only way of communication is message passing through the network.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 14
3. Independent Failures:
• The computer system can fail or crash at any time.
• In primitive centralized system, if the server fails then the whole system fails to
operate leaving the negative consequences to the end users.
• With distributed system, even one network fails, it does not hamper the overall
system.
• The workload of the failed network can be overcome by the other networks within
the system situated at different locations.
• This provides reliable system to the end users.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 15
Advantages of Distributed System:
• All the computer components work independently dividing the main task. This
improves performance of the system and reduce latency time.
• Even if one component of the system crashes or fails, the system as a whole does
not crash. This improves availability and reliability of the system.
• As load is distributed among the components of the system, it enhances the total
computational power of the overall system.
• Computational power can be grown incrementally by adding small components to
the system.
• It allows users to share data and resources.
• The workload is distributed among different components or machines.
• Local database administrator have different degree of local autonomy(retains
control to some extent).
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 16
Disadvantages of Distributed System:
• It is very difficult to implement the distributed system making it more costlier than
other systems.
• The exchange of information among the components require coordination which
creates processing overheads.
• It is difficult to ensure correctness of algorithms generally when some parts of
system is down and is being recovered.
8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 17

More Related Content

Similar to Fundamental Concept of Distributed Computing

Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor ArchitectureAshish KC
 
Cloud computing basic introduction and notes for exam
Cloud computing basic introduction and notes for examCloud computing basic introduction and notes for exam
Cloud computing basic introduction and notes for examUtkarshAnand512529
 
Lecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdfLecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdfAmanuelmergia
 
Lecture 1-introduction to distributed computing.pptx
Lecture 1-introduction to distributed computing.pptxLecture 1-introduction to distributed computing.pptx
Lecture 1-introduction to distributed computing.pptxssusere05ec21
 
Distributed system
Distributed systemDistributed system
Distributed systemchirag patil
 
Computing notes
Computing notesComputing notes
Computing notesthenraju24
 
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdf
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdfCLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdf
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdfyadavkarthik4437
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systemskaran2190
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -ssuser7c150a
 
CS403: Operating System : Lec 7 OS Properties.pptx
CS403: Operating System : Lec 7 OS Properties.pptxCS403: Operating System : Lec 7 OS Properties.pptx
CS403: Operating System : Lec 7 OS Properties.pptxAsst.prof M.Gokilavani
 
lec1.pptx
lec1.pptxlec1.pptx
lec1.pptxMusab58
 
paradigms cloud.pptx
paradigms cloud.pptxparadigms cloud.pptx
paradigms cloud.pptxgunvinit931
 

Similar to Fundamental Concept of Distributed Computing (20)

Uni Processor Architecture
Uni Processor ArchitectureUni Processor Architecture
Uni Processor Architecture
 
Cloud computing basic introduction and notes for exam
Cloud computing basic introduction and notes for examCloud computing basic introduction and notes for exam
Cloud computing basic introduction and notes for exam
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
Lecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdfLecture 1- Introduction to Operating Systems.pdf
Lecture 1- Introduction to Operating Systems.pdf
 
Lecture 1-introduction to distributed computing.pptx
Lecture 1-introduction to distributed computing.pptxLecture 1-introduction to distributed computing.pptx
Lecture 1-introduction to distributed computing.pptx
 
lect02.pdf
lect02.pdflect02.pdf
lect02.pdf
 
OS-UNIT-1-Part-1.pptx
OS-UNIT-1-Part-1.pptxOS-UNIT-1-Part-1.pptx
OS-UNIT-1-Part-1.pptx
 
robotics
roboticsrobotics
robotics
 
Distributed system
Distributed systemDistributed system
Distributed system
 
Computing notes
Computing notesComputing notes
Computing notes
 
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdf
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdfCLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdf
CLOUD COMPUTING CHANTI-130 ( FOR THE COMPUTING2).pdf
 
Cloud Computing
Cloud Computing Cloud Computing
Cloud Computing
 
CC unit 1.pptx
CC unit 1.pptxCC unit 1.pptx
CC unit 1.pptx
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Unit 1 architecture of distributed systems
Unit 1 architecture of distributed systemsUnit 1 architecture of distributed systems
Unit 1 architecture of distributed systems
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -
 
CS403: Operating System : Lec 7 OS Properties.pptx
CS403: Operating System : Lec 7 OS Properties.pptxCS403: Operating System : Lec 7 OS Properties.pptx
CS403: Operating System : Lec 7 OS Properties.pptx
 
lec1.pptx
lec1.pptxlec1.pptx
lec1.pptx
 
paradigms cloud.pptx
paradigms cloud.pptxparadigms cloud.pptx
paradigms cloud.pptx
 

More from Ashish KC

Andrew File System
Andrew File SystemAndrew File System
Andrew File SystemAshish KC
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFSAshish KC
 
Name Services and Domain Name System
Name Services and Domain Name SystemName Services and Domain Name System
Name Services and Domain Name SystemAshish KC
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service ArchitectureAshish KC
 
Flynn's Taxonomy
Flynn's TaxonomyFlynn's Taxonomy
Flynn's TaxonomyAshish KC
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File SystemAshish KC
 
Performance of Parallel Processors
Performance of Parallel ProcessorsPerformance of Parallel Processors
Performance of Parallel ProcessorsAshish KC
 
Multi Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsMulti Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsAshish KC
 
Video Display
Video DisplayVideo Display
Video DisplayAshish KC
 
Storage Devices
Storage DevicesStorage Devices
Storage DevicesAshish KC
 
Introduction to Processor
Introduction to ProcessorIntroduction to Processor
Introduction to ProcessorAshish KC
 
Input Devices
Input DevicesInput Devices
Input DevicesAshish KC
 
Motherboard and System Devices
Motherboard and System DevicesMotherboard and System Devices
Motherboard and System DevicesAshish KC
 
Power Supply
Power SupplyPower Supply
Power SupplyAshish KC
 
History and Generation of Computer
History and Generation of ComputerHistory and Generation of Computer
History and Generation of ComputerAshish KC
 
Role of Computer in Various Fields
Role of Computer in Various FieldsRole of Computer in Various Fields
Role of Computer in Various FieldsAshish KC
 
Classification of Computers
Classification of ComputersClassification of Computers
Classification of ComputersAshish KC
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to ComputerAshish KC
 

More from Ashish KC (20)

Andrew File System
Andrew File SystemAndrew File System
Andrew File System
 
Case Study - SUN NFS
Case Study - SUN NFSCase Study - SUN NFS
Case Study - SUN NFS
 
Name Services and Domain Name System
Name Services and Domain Name SystemName Services and Domain Name System
Name Services and Domain Name System
 
File Service Architecture
File Service ArchitectureFile Service Architecture
File Service Architecture
 
Flynn's Taxonomy
Flynn's TaxonomyFlynn's Taxonomy
Flynn's Taxonomy
 
Distributed File System
Distributed File SystemDistributed File System
Distributed File System
 
Performance of Parallel Processors
Performance of Parallel ProcessorsPerformance of Parallel Processors
Performance of Parallel Processors
 
Multi Processor and Multi Computer Models
Multi Processor and Multi Computer ModelsMulti Processor and Multi Computer Models
Multi Processor and Multi Computer Models
 
Monitors
MonitorsMonitors
Monitors
 
Video Display
Video DisplayVideo Display
Video Display
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
 
Introduction to Processor
Introduction to ProcessorIntroduction to Processor
Introduction to Processor
 
Input Devices
Input DevicesInput Devices
Input Devices
 
Motherboard and System Devices
Motherboard and System DevicesMotherboard and System Devices
Motherboard and System Devices
 
Power Supply
Power SupplyPower Supply
Power Supply
 
System Case
System CaseSystem Case
System Case
 
History and Generation of Computer
History and Generation of ComputerHistory and Generation of Computer
History and Generation of Computer
 
Role of Computer in Various Fields
Role of Computer in Various FieldsRole of Computer in Various Fields
Role of Computer in Various Fields
 
Classification of Computers
Classification of ComputersClassification of Computers
Classification of Computers
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 

Recently uploaded

Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...Amil baba
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdfKamal Acharya
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Krakówbim.edu.pl
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwoodseandesed
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdfKamal Acharya
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfKamal Acharya
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringC Sai Kiran
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfPipe Restoration Solutions
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationDr. Radhey Shyam
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationRobbie Edward Sayers
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfAyahmorsy
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdfKamal Acharya
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdfKamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfKamal Acharya
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfKamal Acharya
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerapareshmondalnita
 

Recently uploaded (20)

Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
NO1 Pandit Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Yar...
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Peek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdfPeek implant persentation - Copy (1).pdf
Peek implant persentation - Copy (1).pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 

Fundamental Concept of Distributed Computing

  • 1. Distributed Computing EG 3113 CT Diploma in Computer Engineering 5th Semester Unit 3.1 Fundamental Concept of Distributed System Lecture by : Er. Ashish K.C(Khatri)
  • 2. Introduction to Distributed Computing: 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 2
  • 3. Introduction to Distributed System: • A distributed system is a collection of independent computers at networked locations such that they communicate and interact only through message passing that is viewed as a single coherent system by its users. • Generally, all the components of the distributed system interact so as to obtain a common goal. • A computer program running in distributed system is called distributed program. • Distributed programming is used to write distributed programs. • It differs from parallel system as each computer in a distributed system has its own memory i.e. distributed memory; but in parallel system, all processors have access to shared memory for information exchange. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 3
  • 4. • A distributed system, also known as distributed computing, is a system with multiple components located on different machines that communicate and coordinate actions in order to appear as a single coherent system to the end-user. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 4
  • 5. Examples of distributed computing : • Intranets, Internet, WWW, email • Telecommunication networks: Telephone networks and Cellular networks. • The network of branch office computers -Information system to handle automatic processing of orders, • Real-time process control: Aircraft control systems, • Electronic banking, • Airline reservation systems, • Sensor networks, • Mobile and Pervasive Computing systems. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 5 Assignment: Prepare the presentation slides on Electronic Banking.
  • 6. Centralized System: • Centralized systems are systems that use client/server architecture where one or more client nodes are directly connected to a central server. • This is the most commonly used type of system in many organizations where client sends a request to a company server and receives the response. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 6
  • 7. Characteristics of Centralized System: • Presence of a global clock: As the entire system consists of a central node(a server/ a master) and many client nodes(a computer/ a slave), all client nodes sync up with the global clock(the clock of the central node). • One single central unit: One single central unit which serves/coordinates all the other nodes in the system. • Dependent failure of components: Central node failure causes entire system to fail. This makes sense because when the server is down, no other entity is there to send/receive response/requests. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 7
  • 8. Distributed System Vs Centralized System: 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 8
  • 9. Distributed System Vs Centralized System: 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 9
  • 10. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 10
  • 11. Main Characteristics of Distributed System: • Concurrency • No global clock • Independent failures 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 11
  • 12. 1. Concurrency: • Distributed system allows the programs that share resources to execute concurrently(i.e. At the same time). • It is a property that enables processes running in different machines to form a common system that is capable of executing codes on multiple machines at the same time. • Example: A web application is concurrent as it can be used by various users at the same time. • Concurrency helps to reduce latency and increase throughput as a unit of work can be concurrently done by sub-division. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 12
  • 13. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 13
  • 14. 2. No Global Clock: • In other to coordinate to the remote networks it is necessary to synchronize clock in primitive technologies. • But as there is no single correct global timing system, it is very difficult to synchronize global clock across all the networks of the system located at different locations. • The main characteristics of the distributed system is that it does not need any global clock system to coordinate with the network at different locations because the only way of communication is message passing through the network. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 14
  • 15. 3. Independent Failures: • The computer system can fail or crash at any time. • In primitive centralized system, if the server fails then the whole system fails to operate leaving the negative consequences to the end users. • With distributed system, even one network fails, it does not hamper the overall system. • The workload of the failed network can be overcome by the other networks within the system situated at different locations. • This provides reliable system to the end users. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 15
  • 16. Advantages of Distributed System: • All the computer components work independently dividing the main task. This improves performance of the system and reduce latency time. • Even if one component of the system crashes or fails, the system as a whole does not crash. This improves availability and reliability of the system. • As load is distributed among the components of the system, it enhances the total computational power of the overall system. • Computational power can be grown incrementally by adding small components to the system. • It allows users to share data and resources. • The workload is distributed among different components or machines. • Local database administrator have different degree of local autonomy(retains control to some extent). 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 16
  • 17. Disadvantages of Distributed System: • It is very difficult to implement the distributed system making it more costlier than other systems. • The exchange of information among the components require coordination which creates processing overheads. • It is difficult to ensure correctness of algorithms generally when some parts of system is down and is being recovered. 8/16/2022 Distributed Computing Notes © Er. Ashish K.C(Khatri) 17