SlideShare uma empresa Scribd logo
1 de 48
INTRODUCTION TO DISTRIBUTED
SYSTEMS
BY:
Sunita Sahu
Assistant Professor,
VESIT,Mumbai
INTRODUCTION TO DISTRIBUTED
SYSTEMS
`
 Definition
 Motivation for Distributed system
 Architectural Categories
 Characteristics, Issues, Goals,
 Advantages
 Disadvantages
DEFINITION
 A distributed system is a collection of independent
computers, interconnected via a network, capable of
collaborating on a task.
 A distributed system can be characterized as collection of
multiple autonomous computers that communicate over a
communication network and having following features:
 No common Physical clock
 Enhanced Reliability
 Increased performance/cost ratio
 Access to geographically remote data and resources
 Scalability
3
DEFINITION CNTD…
 Distributed system is a collection of independent
entities that cooperate to solve a problem that cannot
be solved individually.
 So, basically it is nothing but a collection of computers.
 DCS do not share a common memory or do not have a
common physical clock, and the only way they can
communicate is through the message passing and for
that they require a communication network
Definition of a Distributed System
A distributed system is (Tannenbaum):
A collection of independent computers that
appears to its users as a single coherent
system.
A distributed system is (Lamport):
One in which the failure of a computer you
didn't even know existed can render your
own computer unusable
Overview…
 Distributed system connects autonomous processors by
communication network.
 The software component that run on each of the
computers use the local operating system and network
protocol stack.
 The distributed software is termed as middleware.
 The distributed execution is the execution of the
processes across the distributed system to collectively
achieve a common goal.
Motivation for Distributed system
 Inherently distributed computation that is many
applications such as money transfer in the banking, or
reaching a consensus among the parties that are
geographically distant, the computation is inherently
distributed.
 Resource sharing the sharing of the resources such as
peripherals, and a complete data set and so on and so forth.
 Access the geographically remote data and resources, such
as bank database, supercomputer and so on.
 Reliability enhanced reliability possibility of replicating the
resources and execution to enhance the reliability.
Architectural Categories
Computer architectures consisting of
interconnected, multiple processors are basically
of two types:
1). Tightly coupled system
2). Loosely coupled system
TIGHTLY COUPLED SYSTEMS
In these systems, there is a single system wide
primary memory (address space) that is shared
by all the processors . Usually tightly coupled
systems are referred to as parallel processing
systems.
CPU CPU
System-
Wide
Shared
memory CPU
Interconnection hardware
CPU
LOOSELY COUPLED SYSTEMS
 In these systems, the processors do not share
memory, and each processor has its own local
memory .Loosely coupled systems are referred
to as distributed computing systems, or simply
distributed systems
Local memory
CPU
Local memory
CPU
Local memory
CPU
Local memory
CPU
Communication network
CHARACTERISTICS OF DISTRIBUTED
SYSTEM
Concurrency
No global clock
Independent failures
More reliable
Fault tolerant
Scalable
EXAMPLES OF DISTRIBUTED SYSTEMS
 Database Management System
 Automatic Teller Machine Network
 Internet/World-Wide Web
 Mobile and Ubiquitous Computing
13
DATABASE MANAGEMENT SYSTEM
14
AUTOMATIC TELLER MACHINE
NETWORK
15
INTERNET
16
intranet
ISP
desktop computer:
backbone
satellite link
server:

network link:



WORLD-WIDE-WEB
17
WEB SERVERS AND WEB BROWSERS
18
Internet
Browsers
Web servers
www.google.com
www.uu.se
www.w3c.org
Protocols
Activity.html
http://www.w3c.org/Protocols/Activity.html
http://www.google.comlsearch?q=lyu
http://www.uu.se/
File system of
www.w3c.org
MOBILE AND UBIQUITOUS COMPUTING
19
Laptop
Mobile
Printer
Camera
Internet
Host intranet Home intranet
GSM/GPRS
Wireless LAN
phone
gateway
Host site
Distributed System
A distributed system organized as middleware. The
middleware layer extends over multiple machines,
and offers each application the same interface.
GOALS:COMMON HARACTERISTICS
 Making resources accessible
 Openness
 Transparency
 Security
 Scalability
 Failure Handling
 Concurrency
 Heterogeneity
Making resources accessible
• The main goal of a distributed system is to make it
easy for the users (and applications) to access
remote resources, and to share them in a controlled
and efficient way.
• Resources can be just about anything, but typical
examples include things like printers, computers,
storage facilities, data, files, Web pages, and
networks,
Reasons to share resources.
• Economics.
OPENNESS
 An open distributed system is a system that offers
services according to standard rules that describe
the syntax and semantics of those services.
 Detailed interfaces of components need to be
published.
 New components have to be integrated with
existing components. An open distributed system
should also be extensible.
 Differences in data representation of interface types
on different processors (of different vendors) have
to be resolved.
23
TRANSPARENCY
 Distributed systems should be perceived by users
and application programmers as a whole rather
than as a collection of cooperating components.
 Ability to hide the fact that process and resources
are distributed .
 Transparency has different aspects.
 These represent various properties that distributed
systems should have.
24
Transparency in a Distributed
System
ACCESS TRANSPARENCY
 Enables local and remote information objects to be
accessed using identical operations.
 Example: File system operations in NFS.
 Example: Navigation in the Web.
 Example: SQL Queries
26
LOCATION TRANSPARENCY
 Enables information objects to be accessed
without knowledge of their location.
 Example: File system operations in NFS
 Example: Pages in the Web
 Example: Tables in distributed databases
27
CONCURRENCY TRANSPARENCY
 Enables several processes to operate
concurrently using shared information objects
without interference between them.
 Example: NFS
 Example: Automatic teller machine network
 Example: Database management system
28
REPLICATION TRANSPARENCY
 Enables multiple instances of information
objects to be used to increase reliability and
performance without knowledge of the replicas
by users or application programs
 Example: Distributed DBMS
 Example: Mirroring Web Pages.
29
FAILURE TRANSPARENCY
 Enables the concealment of faults
 Allows users and applications to complete their
tasks despite the failure of other components.
 Partial failure transparency is achievable but
complete failure transparency is not possible
 Example: Database Management System
30
MIGRATION TRANSPARENCY
 Allows the movement of information objects
within a system without affecting the operations
of users or application programs
 Relocation Transparency:
 Situation in which resources can be relocated
while they are being accessed without the user
or application noticing anything. In such cases,
the system is said to support relocation
transparency.
31
PERFORMANCE TRANSPARENCY
 Allows the system to be reconfigured to
improve performance as loads vary.
 Load should be evenly distributed among all the
machines.
32
SCALING TRANSPARENCY
 Allows the system and applications to expand
in scale without change to the system structure
or the application algorithms.
 Example: World-Wide-Web
 Example: Distributed Database
33
HETEROGENEITY
 Variety and differences in
 Networks
 Computer hardware
 Operating systems
 Programming languages
 Implementations by different developers
34
SECURITY
 In a distributed system, clients send requests to
access data managed by servers, resources in
the networks:
 Doctors requesting records from hospitals
 Users purchase products through electronic commerce
 Security is required for:
 Concealing the contents of messages: security and privacy
 Identifying a remote user or other agent correctly
(authentication)
 New challenges:
 Denial of service attack
 Security of mobile code
35
FAILURE HANDLING (FAULT
TOLERANCE)
 Hardware, software and networks fail!
 Distributed systems must maintain availability
even at low levels of hardware/software/network
reliability.
 Fault tolerance is achieved by
 recovery
 redundancy
36
CONCURRENCY
 Components in distributed systems are
executed in concurrent processes.
 Components access and update shared
resources (e.g. variables, databases, device
drivers).
 Integrity of the system may be violated if
concurrent updates are not coordinated.
37
SCALABILITY
 Scalability of a system can be measured along at
least three different dimensions
 scalability with respect to size: meaning that we can
easily add more users and resources to the system.
 geographically scalable :system is one in which the
users and resources may lie far apart.
 Administratively scalable: meaning that it can still be
easy to manage even if it spans many independent
administrative organizations.
SCALING TECHNIQUES
 Hiding communication latencies
 Asynchronous communication
 Allocate more job to client machine
 Distribution
 Distribution involves taking a component, splitting it into
smaller parts, and subsequently spreading those parts
across the system. An excellent example of distribution
is the Internet Domain Name System (DNS)
 Replicate
4. BASIC DESIGN ISSUES
 Specific issues for distributed systems:
 Naming
 Communication
 Software structure
 System architecture
 Workload allocation
 Consistency maintenance
40
NAMING
 A name is resolved when translated into an
interpretable form for resource/object reference.
 Communication identifier (IP address + port number)
 Name resolution involves several translation steps
 Design considerations
 Choice of name space for each resource type
 Name service to resolve resource names to comm. id.
 Name services include naming context resolution,
hierarchical structure, resource protection
41
COMMUNICATION
 Separated components communicate with sending
processes and receiving processes for data transfer
and synchronization.
 Message passing: send and receive primitives
 synchronous or blocking
 asynchronous or non-blocking
 Abstractions defined: channels, sockets, ports.
 Communication patterns: client-server
communication (e.g., RPC, function shipping) and
group multicast
42
SOFTWARE STRUCTURE
 Layers in centralized computer systems:
43
Applications
Middleware
Operating system
Computer and Network Hardware
SOFTWARE STRUCTURE
 Layers and dependencies in distributed systems:
44
Applications
Distributed programming
support
Open
services
Open system kernel services
Computer and network hardware
Challenges
• Performance
• Concurrency
• Failures
• Scalability
• System updates/growth
• Heterogeneity
• Openness
• Multiplicity of ownership, authority
• Security
• Quality of service/user experience
• Transparency
• Debugging
ADVANTAGES OF DISTRIBUTED SYSTEM
 Information Sharing among Distributed Users
 Resource Sharing
 Extensibility and Incremental growth
 Shorter Response Time and Higher Output
 Higher Reliability
 Better Flexibility’s in meeting User’s needs
 Better price/performance ratio
 Scalability
 Transparency
7
DISADVANTAGES OF DISTRIBUTED
SYSTEM
 Difficulties of developing distributed
software
 Networking Problem
 Security Problems
 Performance
 Openness
 Reliability and Fault Tolerance
8
REFERENCES:
 Tanenbaum, Andrew S., and Maarten Van
Steen. Distributed systems: principles and
paradigms. Prentice-Hall, 2007.
 Sinha, Pradeep K. Distributed operating systems:
concepts and design. PHI Learning Pvt. Ltd., 1998.
 NOC:Distributed Systems,NPTEL

Mais conteúdo relacionado

Mais procurados

System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed systemishapadhy
 
Communication in Distributed Systems
Communication in Distributed SystemsCommunication in Distributed Systems
Communication in Distributed SystemsDilum Bandara
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communicationAbDul ThaYyal
 
Security in distributed systems
Security in distributed systems Security in distributed systems
Security in distributed systems Haitham Ahmed
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systemsvampugani
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bankpkaviya
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems SHATHAN
 
2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software conceptsPrajakta Rane
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemPrankit Mishra
 
Design Goals of Distributed System
Design Goals of Distributed SystemDesign Goals of Distributed System
Design Goals of Distributed SystemAshish KC
 
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Gyanmanjari Institute Of Technology
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsAya Mahmoud
 
Synchronization in distributed computing
Synchronization in distributed computingSynchronization in distributed computing
Synchronization in distributed computingSVijaylakshmi
 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency ControlDilum Bandara
 

Mais procurados (20)

System models in distributed system
System models in distributed systemSystem models in distributed system
System models in distributed system
 
Communication in Distributed Systems
Communication in Distributed SystemsCommunication in Distributed Systems
Communication in Distributed Systems
 
Chapter 4 a interprocess communication
Chapter 4 a interprocess communicationChapter 4 a interprocess communication
Chapter 4 a interprocess communication
 
Security in distributed systems
Security in distributed systems Security in distributed systems
Security in distributed systems
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
 
Naming in Distributed System
Naming in Distributed SystemNaming in Distributed System
Naming in Distributed System
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systems
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems
 
2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts2. Distributed Systems Hardware & Software concepts
2. Distributed Systems Hardware & Software concepts
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Design Goals of Distributed System
Design Goals of Distributed SystemDesign Goals of Distributed System
Design Goals of Distributed System
 
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 
Synchronization in distributed computing
Synchronization in distributed computingSynchronization in distributed computing
Synchronization in distributed computing
 
1.intro. to distributed system
1.intro. to distributed system1.intro. to distributed system
1.intro. to distributed system
 
Transactions and Concurrency Control
Transactions and Concurrency ControlTransactions and Concurrency Control
Transactions and Concurrency Control
 
Replication in Distributed Systems
Replication in Distributed SystemsReplication in Distributed Systems
Replication in Distributed Systems
 

Semelhante a Introduction to Distributed System

- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -ssuser7c150a
 
DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxvinaypandey170
 
Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes SAhammedShakil
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptMrVMNair
 
chapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptchapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptAschalewAyele2
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionTamrat Amare
 
distributed system chapter one introduction to distribued system.pdf
distributed system chapter one introduction to distribued system.pdfdistributed system chapter one introduction to distribued system.pdf
distributed system chapter one introduction to distribued system.pdflematadese670
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptbalewayalew
 
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDistributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDrNilam Choudhary
 
Lect 2 Types of Distributed Systems.pptx
Lect 2 Types of Distributed Systems.pptxLect 2 Types of Distributed Systems.pptx
Lect 2 Types of Distributed Systems.pptxPardonSamson
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptsirajmohammed35
 
Lecture03.pptx
Lecture03.pptxLecture03.pptx
Lecture03.pptxSaunya2
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt himHimanshu Saini
 
Pmit 6102-14-lec1-intro
Pmit 6102-14-lec1-introPmit 6102-14-lec1-intro
Pmit 6102-14-lec1-introJesmin Rahaman
 
Distributed network
Distributed networkDistributed network
Distributed networkDhani Ahmad
 

Semelhante a Introduction to Distributed System (20)

Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
OS .pptx
OS .pptxOS .pptx
OS .pptx
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -
 
DISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docxDISTRIBUTED SYSTEM.docx
DISTRIBUTED SYSTEM.docx
 
Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes Distributed system Tanenbaum chapter 1,2,3,4 notes
Distributed system Tanenbaum chapter 1,2,3,4 notes
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
 
Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.ppt
 
chapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.pptchapter 1- introduction to distributed system.ppt
chapter 1- introduction to distributed system.ppt
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
distributed system chapter one introduction to distribued system.pdf
distributed system chapter one introduction to distribued system.pdfdistributed system chapter one introduction to distribued system.pdf
distributed system chapter one introduction to distribued system.pdf
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT JaipurDistributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
Distributed System Unit 1 Notes by Dr. Nilam Choudhary, SKIT Jaipur
 
Lect 2 Types of Distributed Systems.pptx
Lect 2 Types of Distributed Systems.pptxLect 2 Types of Distributed Systems.pptx
Lect 2 Types of Distributed Systems.pptx
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Lecture03.pptx
Lecture03.pptxLecture03.pptx
Lecture03.pptx
 
istributed system
istributed systemistributed system
istributed system
 
Distributed computing ).ppt him
Distributed computing ).ppt himDistributed computing ).ppt him
Distributed computing ).ppt him
 
Pmit 6102-14-lec1-intro
Pmit 6102-14-lec1-introPmit 6102-14-lec1-intro
Pmit 6102-14-lec1-intro
 
Distributed network
Distributed networkDistributed network
Distributed network
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 

Mais de Sunita Sahu

Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement documentSunita Sahu
 
Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement documentSunita Sahu
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure callSunita Sahu
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed systemSunita Sahu
 
Slowly changing dimension
Slowly changing dimension Slowly changing dimension
Slowly changing dimension Sunita Sahu
 
Fact less fact Tables & Aggregate Tables
Fact less fact Tables & Aggregate Tables Fact less fact Tables & Aggregate Tables
Fact less fact Tables & Aggregate Tables Sunita Sahu
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional ModelingSunita Sahu
 
Attacks in MANET
Attacks in MANETAttacks in MANET
Attacks in MANETSunita Sahu
 

Mais de Sunita Sahu (8)

Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement document
 
Writing software requirement document
Writing software requirement documentWriting software requirement document
Writing software requirement document
 
RPC: Remote procedure call
RPC: Remote procedure callRPC: Remote procedure call
RPC: Remote procedure call
 
Clock synchronization in distributed system
Clock synchronization in distributed systemClock synchronization in distributed system
Clock synchronization in distributed system
 
Slowly changing dimension
Slowly changing dimension Slowly changing dimension
Slowly changing dimension
 
Fact less fact Tables & Aggregate Tables
Fact less fact Tables & Aggregate Tables Fact less fact Tables & Aggregate Tables
Fact less fact Tables & Aggregate Tables
 
Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
Attacks in MANET
Attacks in MANETAttacks in MANET
Attacks in MANET
 

Último

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 8377877756dollysharma2066
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
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 Bookingroncy bisnoi
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
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.pdfRagavanV2
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 

Último (20)

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
 
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...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.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
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
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
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

Introduction to Distributed System

  • 1. INTRODUCTION TO DISTRIBUTED SYSTEMS BY: Sunita Sahu Assistant Professor, VESIT,Mumbai
  • 2. INTRODUCTION TO DISTRIBUTED SYSTEMS `  Definition  Motivation for Distributed system  Architectural Categories  Characteristics, Issues, Goals,  Advantages  Disadvantages
  • 3. DEFINITION  A distributed system is a collection of independent computers, interconnected via a network, capable of collaborating on a task.  A distributed system can be characterized as collection of multiple autonomous computers that communicate over a communication network and having following features:  No common Physical clock  Enhanced Reliability  Increased performance/cost ratio  Access to geographically remote data and resources  Scalability 3
  • 4. DEFINITION CNTD…  Distributed system is a collection of independent entities that cooperate to solve a problem that cannot be solved individually.  So, basically it is nothing but a collection of computers.  DCS do not share a common memory or do not have a common physical clock, and the only way they can communicate is through the message passing and for that they require a communication network
  • 5. Definition of a Distributed System A distributed system is (Tannenbaum): A collection of independent computers that appears to its users as a single coherent system. A distributed system is (Lamport): One in which the failure of a computer you didn't even know existed can render your own computer unusable
  • 6. Overview…  Distributed system connects autonomous processors by communication network.  The software component that run on each of the computers use the local operating system and network protocol stack.  The distributed software is termed as middleware.  The distributed execution is the execution of the processes across the distributed system to collectively achieve a common goal.
  • 7. Motivation for Distributed system  Inherently distributed computation that is many applications such as money transfer in the banking, or reaching a consensus among the parties that are geographically distant, the computation is inherently distributed.  Resource sharing the sharing of the resources such as peripherals, and a complete data set and so on and so forth.  Access the geographically remote data and resources, such as bank database, supercomputer and so on.  Reliability enhanced reliability possibility of replicating the resources and execution to enhance the reliability.
  • 8.
  • 9. Architectural Categories Computer architectures consisting of interconnected, multiple processors are basically of two types: 1). Tightly coupled system 2). Loosely coupled system
  • 10. TIGHTLY COUPLED SYSTEMS In these systems, there is a single system wide primary memory (address space) that is shared by all the processors . Usually tightly coupled systems are referred to as parallel processing systems. CPU CPU System- Wide Shared memory CPU Interconnection hardware CPU
  • 11. LOOSELY COUPLED SYSTEMS  In these systems, the processors do not share memory, and each processor has its own local memory .Loosely coupled systems are referred to as distributed computing systems, or simply distributed systems Local memory CPU Local memory CPU Local memory CPU Local memory CPU Communication network
  • 12. CHARACTERISTICS OF DISTRIBUTED SYSTEM Concurrency No global clock Independent failures More reliable Fault tolerant Scalable
  • 13. EXAMPLES OF DISTRIBUTED SYSTEMS  Database Management System  Automatic Teller Machine Network  Internet/World-Wide Web  Mobile and Ubiquitous Computing 13
  • 18. WEB SERVERS AND WEB BROWSERS 18 Internet Browsers Web servers www.google.com www.uu.se www.w3c.org Protocols Activity.html http://www.w3c.org/Protocols/Activity.html http://www.google.comlsearch?q=lyu http://www.uu.se/ File system of www.w3c.org
  • 19. MOBILE AND UBIQUITOUS COMPUTING 19 Laptop Mobile Printer Camera Internet Host intranet Home intranet GSM/GPRS Wireless LAN phone gateway Host site
  • 20. Distributed System A distributed system organized as middleware. The middleware layer extends over multiple machines, and offers each application the same interface.
  • 21. GOALS:COMMON HARACTERISTICS  Making resources accessible  Openness  Transparency  Security  Scalability  Failure Handling  Concurrency  Heterogeneity
  • 22. Making resources accessible • The main goal of a distributed system is to make it easy for the users (and applications) to access remote resources, and to share them in a controlled and efficient way. • Resources can be just about anything, but typical examples include things like printers, computers, storage facilities, data, files, Web pages, and networks, Reasons to share resources. • Economics.
  • 23. OPENNESS  An open distributed system is a system that offers services according to standard rules that describe the syntax and semantics of those services.  Detailed interfaces of components need to be published.  New components have to be integrated with existing components. An open distributed system should also be extensible.  Differences in data representation of interface types on different processors (of different vendors) have to be resolved. 23
  • 24. TRANSPARENCY  Distributed systems should be perceived by users and application programmers as a whole rather than as a collection of cooperating components.  Ability to hide the fact that process and resources are distributed .  Transparency has different aspects.  These represent various properties that distributed systems should have. 24
  • 25. Transparency in a Distributed System
  • 26. ACCESS TRANSPARENCY  Enables local and remote information objects to be accessed using identical operations.  Example: File system operations in NFS.  Example: Navigation in the Web.  Example: SQL Queries 26
  • 27. LOCATION TRANSPARENCY  Enables information objects to be accessed without knowledge of their location.  Example: File system operations in NFS  Example: Pages in the Web  Example: Tables in distributed databases 27
  • 28. CONCURRENCY TRANSPARENCY  Enables several processes to operate concurrently using shared information objects without interference between them.  Example: NFS  Example: Automatic teller machine network  Example: Database management system 28
  • 29. REPLICATION TRANSPARENCY  Enables multiple instances of information objects to be used to increase reliability and performance without knowledge of the replicas by users or application programs  Example: Distributed DBMS  Example: Mirroring Web Pages. 29
  • 30. FAILURE TRANSPARENCY  Enables the concealment of faults  Allows users and applications to complete their tasks despite the failure of other components.  Partial failure transparency is achievable but complete failure transparency is not possible  Example: Database Management System 30
  • 31. MIGRATION TRANSPARENCY  Allows the movement of information objects within a system without affecting the operations of users or application programs  Relocation Transparency:  Situation in which resources can be relocated while they are being accessed without the user or application noticing anything. In such cases, the system is said to support relocation transparency. 31
  • 32. PERFORMANCE TRANSPARENCY  Allows the system to be reconfigured to improve performance as loads vary.  Load should be evenly distributed among all the machines. 32
  • 33. SCALING TRANSPARENCY  Allows the system and applications to expand in scale without change to the system structure or the application algorithms.  Example: World-Wide-Web  Example: Distributed Database 33
  • 34. HETEROGENEITY  Variety and differences in  Networks  Computer hardware  Operating systems  Programming languages  Implementations by different developers 34
  • 35. SECURITY  In a distributed system, clients send requests to access data managed by servers, resources in the networks:  Doctors requesting records from hospitals  Users purchase products through electronic commerce  Security is required for:  Concealing the contents of messages: security and privacy  Identifying a remote user or other agent correctly (authentication)  New challenges:  Denial of service attack  Security of mobile code 35
  • 36. FAILURE HANDLING (FAULT TOLERANCE)  Hardware, software and networks fail!  Distributed systems must maintain availability even at low levels of hardware/software/network reliability.  Fault tolerance is achieved by  recovery  redundancy 36
  • 37. CONCURRENCY  Components in distributed systems are executed in concurrent processes.  Components access and update shared resources (e.g. variables, databases, device drivers).  Integrity of the system may be violated if concurrent updates are not coordinated. 37
  • 38. SCALABILITY  Scalability of a system can be measured along at least three different dimensions  scalability with respect to size: meaning that we can easily add more users and resources to the system.  geographically scalable :system is one in which the users and resources may lie far apart.  Administratively scalable: meaning that it can still be easy to manage even if it spans many independent administrative organizations.
  • 39. SCALING TECHNIQUES  Hiding communication latencies  Asynchronous communication  Allocate more job to client machine  Distribution  Distribution involves taking a component, splitting it into smaller parts, and subsequently spreading those parts across the system. An excellent example of distribution is the Internet Domain Name System (DNS)  Replicate
  • 40. 4. BASIC DESIGN ISSUES  Specific issues for distributed systems:  Naming  Communication  Software structure  System architecture  Workload allocation  Consistency maintenance 40
  • 41. NAMING  A name is resolved when translated into an interpretable form for resource/object reference.  Communication identifier (IP address + port number)  Name resolution involves several translation steps  Design considerations  Choice of name space for each resource type  Name service to resolve resource names to comm. id.  Name services include naming context resolution, hierarchical structure, resource protection 41
  • 42. COMMUNICATION  Separated components communicate with sending processes and receiving processes for data transfer and synchronization.  Message passing: send and receive primitives  synchronous or blocking  asynchronous or non-blocking  Abstractions defined: channels, sockets, ports.  Communication patterns: client-server communication (e.g., RPC, function shipping) and group multicast 42
  • 43. SOFTWARE STRUCTURE  Layers in centralized computer systems: 43 Applications Middleware Operating system Computer and Network Hardware
  • 44. SOFTWARE STRUCTURE  Layers and dependencies in distributed systems: 44 Applications Distributed programming support Open services Open system kernel services Computer and network hardware
  • 45. Challenges • Performance • Concurrency • Failures • Scalability • System updates/growth • Heterogeneity • Openness • Multiplicity of ownership, authority • Security • Quality of service/user experience • Transparency • Debugging
  • 46. ADVANTAGES OF DISTRIBUTED SYSTEM  Information Sharing among Distributed Users  Resource Sharing  Extensibility and Incremental growth  Shorter Response Time and Higher Output  Higher Reliability  Better Flexibility’s in meeting User’s needs  Better price/performance ratio  Scalability  Transparency 7
  • 47. DISADVANTAGES OF DISTRIBUTED SYSTEM  Difficulties of developing distributed software  Networking Problem  Security Problems  Performance  Openness  Reliability and Fault Tolerance 8
  • 48. REFERENCES:  Tanenbaum, Andrew S., and Maarten Van Steen. Distributed systems: principles and paradigms. Prentice-Hall, 2007.  Sinha, Pradeep K. Distributed operating systems: concepts and design. PHI Learning Pvt. Ltd., 1998.  NOC:Distributed Systems,NPTEL