SlideShare a Scribd company logo
1 of 43
Download to read offline
Principles and characteristics of
distributed systems and
environments
Definition of a distributed system
 Distributed system is a collection of independent
computers that appears to its users as a single coherent
system.
 Distributed computing is decentralised and parallel
computing, using two or more computers communicating
over a network to accomplish a common objective or
task. The types of hardware, programming languages,
operating systems and other resources may vary
drastically.
 Leslie Lamport: A distributed system is one I which the
failure of a computer you didn’t even know existed can
render your computer unusable.
Definition cont.
 2 aspects
Deals with hardware: machines are autonomous
Deals with software: the users think they are dealing
with a single system
 Important characteristics
Communication is hidden from users
Applications can interact with uniform and consistent
way
Relatively easy to expand or scale (DS will normally be
continuously available)
A distributed system should be functionally equivalent to
the systems of which it is composed.
Distributed system as Middleware service
If the system as a whole looks and acts like a classical
single-processor timesharing system, it qualifies as a
distributed system.
Goals
A DS should easily connect users to
resources; it should hide the fact that
resources are distributed across a
network; should be open and scalable.
4 goals:
Connecting users and resources
Transparency
Openness
Scalability
Connecting users and resources
Share resources (hw components, data)
Groupware
Security aspects
Transparency
Transparent ~ present itself to users and
applications as if it were only a single
computer system
Different forms of transparency in a distributed system
ANSA Reference Manual [1989] and ISO Reference Model
For Open Distributed Processing (RM-ODP) [1992/7]
Openness
 System that offers services according to standard rules
that describe the syntax and semantics
 Generally specified through interfaces, often described
in Interface Definition Language (IDL)
 Interoperability – characterizes two implementations of
system can co-exists and work together
 Portability – characterizes to what extent an application
developed for a distributed system A can be executed,
without modification, on distributed system B that
implements the same interface as A
 Small replaceable and adaptable parts - provide
definitions of not only the highest-level interfaces, those
used by applications, but also definitions for interfaces to
internal parts
Scalability
Measure at least 3 different dimensions
Size – easily add more users and resources to
system
Geographically scalable system – lie far apart
Administratively scalable – independent
administrative organizations
Scalability in one or more dimensions
often means loss of performance – should
not be significant.
Scalability cont.
 Performance
 Congestion of communication links
 Only decentralized algorithms should be used (no
machine has complete information; decisions based on
local information; failure of one machine does not ruin
the algorithm; no implicit assumption of global clock)
Example of scalability limitations
Scaling techniques
3 techniques for scaling
Hiding communication latencies - Asynchronous
communication
Distribution - domains
Replication – caching -> consistency problems !
Why Distributed Systems?
Geographically distributed environment
Speed up
Parallel vs. Distributed Systems (synchronous
SIMD or MIMD; asynchronous process)
Resource sharing
HW and SW (databases)
Fault tolerance
Detection, Recover
Logical distribution of functional capabilities: multiple processes, interprocess
communication, disjoint address space, collective goal
Issues in Distributed Systems
 Knowledge of process
 Identity, Identity of it’s immediate neighbors, communication
channel to neighbors
 Network topology
 Completely or sparsely connected, message routing, channel
uni/bi-directional
 Degree of synchronization
 Clock drift, propagation delay
 Failures
 Type of failure and duration of failure
 Scalabilty
 Time and space complexity (O(log N) ~ excellent, O(N) ~ pure)
Common Subproblems
Leader election
Mutual exclusion
Time synchronization
Global state
Replica management
RM-ODP
Reference Model – Open Distributed
Processing
ITU-T X.9xx standards, X.901 – Overview
Viewpoints (and their languages)
Enterprise
Information
Computational
Engineering
Technology
Hardware concepts
DS consist of multiple CPU – several
different ways of HW organization
Multiprocessors – have shared memory
Multicomputers – without shared memory
Hardware concepts cont.
Architecture of interconnection network
Bus
Switched
Distributed computer system (significant
for multicomputers)
Homogenous – single interconnection network
Heterogeneous – different networks (LAN
connected through FDDI, ATM)
Multiprocessors
Coherent
Overloaded bus –> cache memory
between CPU and bus (hit rate)
Bus suitable until 256 CPUs
Multiprocessors cont.
 Crossbar switch – crosspoint switch
n CPUs and n memories = n2 crosspoint switches
 Omega network
2x2 switches, each two inputs and two outputs
Fast switching, not cheap
 NUMA (NonUniform Memory Access)
Fast access to local memory, slow to other’s
Better average access times than omega networks
Multiprocessors cont.
Crossbar switch Omega network
Homogenous Multicomputer Systems
 Relative easy acording multiprocessors
 CPU-to-CPU and CPU-to-memory
communication
 System Area Networks (SANs)
High performance interconnection network
 Bus-based – Fast Ethernet 25-100 nodes
 Switch-based – messages routed
Mesh, hypercube
Vary widely from Massively Parallel Processors
(MPPs) to Clusters of Workstations (COWs)
Heterogenous Multicomputer Systems
Most distributed systems build on it
Due to scale, inherent heterogeneity, and
most of all, lack of global system view,
sophisticated software is needed to build
apps for heterogeneous multicomputers.
 Provide transparency for apps.
Example
DAS http://www.cs.vu.nl/~bal/das.html
I-way project
Software concepts
 Determines what a DS actually looks like
 Resource manager for underlying hardware
 Operating systems for distributed computers
Tightly-coupled – distributed operating system
(multiprocessors, homogenous multicomputer systems)
Loosely-coupled – network operating system
(heterogeneous multicomputer systems)
Middleware – enhancements to services of network
operating systems – distribution transparency
Software concepts cont.
Uniprocessor Operating Systems
Implement a virtual machine
Apps protected each other
OS should be in full control of how hw
resources are used and shared
Kernel mode
User mode
Architecture
Monolithic kernel
Microkernel
Multiprocessor Operating Systems
Support for multiple CPUs having access
to shared memory
IPC done through memory – protect
against simultaneous access
Synchronization primitives
Semaphore – atomic operations down and up
Monitor – private variable and public
procedures (operations)
Multicomputer Operating Systems
Different structure and complexity than
multiprocessor operating systems
Communication done by message
passing
Software implementation of shared
memory – not always
Message passing primitives may vary
widely in different OS
Multicomputer Operating Systems cont.
Multicomputer Operating Systems cont.
Reliability of message delivery ?
Distributed Shared Memory Systems
Page-based distributed shared memory
Address space divided into pages (4kB or 8kB)
When CPU references address not present
locally, trap occurs, OS fetches the page
Essential normal paging
Distributed Shared Memory Systems
cont.
(a) Pages in DSM
(b) CPU 1 references page 10
(c) Situation if page 10 is read
only and replication used
Network Operation Systems
Do not assume that underlying hardware
is homogeneous and that it should be
managed as if it were a single system
Facilities to allow users to make use of the
services available on specific machine
Service accessed commonly using
commands
rlogin machine
rcp machine1:file1 machine2:file2
Network Operation Systems cont.
Network operating systems are clearly more primitive than distributed
operating systems. The main distinction between the two types of operating
systems is that distributed operating systems make serious attempt to
realize full transparency, that is, provide a single-system view.
Middleware
DOS and NOS don’t qualify definition of
DS
Modern distributed systems are
constructed by means of an additional
layer called middleware.
Additional layer of software between
applications and the network operating
system
Middleware cont.
Goal is to hide heterogeneity of the underlying platforms from applications
Middleware cont.
Middleware models (paradigm)
Everything as file (simple) – Plan 9, UNIX
Distributed File Systems – reasonable scalable
which contributes popularity
Remote Procedure Calls – unaware of network
communication
Distributed Objects – unaware of network
communication
Distributed documents - WWW
Middleware cont.
 Middleware services
high-level Communication facilities - Access
transparency
Naming – allows entities to be shared and accessed
Persistence – through distributed file system or
database
Distributed transactions – atomic multiple read and
write operations; write operation succeeds or fails
Security – can’t rely on the underlying local operating
system, must be implemented in middleware, security
has turned out to be one of the hardest services to
implement
Middleware and Openness
 Modern distributed systems as middleware
 Applications are independent of operating
system
 Independence replaced by strong dependency
of specific middleware
 Need that middleware protocols and interfaces
are the same in different implementations
Comparison between Systems
Client – Server Model
Server – process implementing a specific
service
Client – process that requests service
from server by sending request and
waiting for response
Client – Server Model cont.
Application layering
Distinction of 3 levels
The user-interface level
The processing level
The data level
Multitiered architectures
Three-tier architecture – physically
Modern architectures
 Vertical distribution – multitiered architectures
 Horizontal distribution – distribution split into
equivalent parts (clients or servers)
 Peer-to-peer distribution

More Related Content

What's hot

Intro (Distributed computing)
Intro (Distributed computing)Intro (Distributed computing)
Intro (Distributed computing)Sri Prasanna
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Fazli Amin
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemudaya khanal
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel systemManish Singh
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Basic features of distributed system
Basic features of distributed systemBasic features of distributed system
Basic features of distributed systemsatish raj
 
Distributed system & its characteristic
Distributed system & its characteristicDistributed system & its characteristic
Distributed system & its characteristicAkash Rai
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed SystemRKGhosh3
 
Chapter 1-distribute Computing
Chapter 1-distribute ComputingChapter 1-distribute Computing
Chapter 1-distribute Computingnakomuri
 
Massively Distributed Systems: Design Issues and Challenge
Massively Distributed Systems: Design Issues and ChallengeMassively Distributed Systems: Design Issues and Challenge
Massively Distributed Systems: Design Issues and ChallengeDarcyzz
 
1. Overview of Distributed Systems
1. Overview of Distributed Systems1. Overview of Distributed Systems
1. Overview of Distributed SystemsDaminda Herath
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing ReportIIT Kharagpur
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dosvanamali_vanu
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systemsnaveedchak
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed SystemsRupsee
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating SystemSanthiNivas
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed SystemSunita Sahu
 

What's hot (20)

Intro (Distributed computing)
Intro (Distributed computing)Intro (Distributed computing)
Intro (Distributed computing)
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Basic features of distributed system
Basic features of distributed systemBasic features of distributed system
Basic features of distributed system
 
Distributed system & its characteristic
Distributed system & its characteristicDistributed system & its characteristic
Distributed system & its characteristic
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed System
 
Chapter 1-distribute Computing
Chapter 1-distribute ComputingChapter 1-distribute Computing
Chapter 1-distribute Computing
 
Aos distibutted system
Aos distibutted systemAos distibutted system
Aos distibutted system
 
Massively Distributed Systems: Design Issues and Challenge
Massively Distributed Systems: Design Issues and ChallengeMassively Distributed Systems: Design Issues and Challenge
Massively Distributed Systems: Design Issues and Challenge
 
1.intro. to distributed system
1.intro. to distributed system1.intro. to distributed system
1.intro. to distributed system
 
Distributed architecture (SAD)
Distributed architecture (SAD)Distributed architecture (SAD)
Distributed architecture (SAD)
 
1. Overview of Distributed Systems
1. Overview of Distributed Systems1. Overview of Distributed Systems
1. Overview of Distributed Systems
 
Distributed Computing Report
Distributed Computing ReportDistributed Computing Report
Distributed Computing Report
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systems
 
Distributed Systems
Distributed SystemsDistributed Systems
Distributed Systems
 
Distributed Operating System
Distributed Operating SystemDistributed Operating System
Distributed Operating System
 
Introduction to Distributed System
Introduction to Distributed SystemIntroduction to Distributed System
Introduction to Distributed System
 

Similar to istributed system

Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptMrVMNair
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptbalewayalew
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introductionTamrat Amare
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.pptsirajmohammed35
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating Systemghayour abbas
 
20IT703_PDS_PPT_Unit_I.ppt
20IT703_PDS_PPT_Unit_I.ppt20IT703_PDS_PPT_Unit_I.ppt
20IT703_PDS_PPT_Unit_I.pptsuganthi66742
 
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-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxmeharikiros2
 
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
 
Lecture 1 distriubted computing
Lecture 1 distriubted computingLecture 1 distriubted computing
Lecture 1 distriubted computingARTHURDANIEL12
 
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
 
Computing notes
Computing notesComputing notes
Computing notesthenraju24
 
Lect 1 Distributed System.pptx
Lect 1 Distributed System.pptxLect 1 Distributed System.pptx
Lect 1 Distributed System.pptxPardonSamson
 
Distributed Operating System.pptx
Distributed Operating System.pptxDistributed Operating System.pptx
Distributed Operating System.pptxharpreetkaur1129
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -ssuser7c150a
 

Similar to istributed system (20)

Chapter 1_NG_2020.ppt
Chapter 1_NG_2020.pptChapter 1_NG_2020.ppt
Chapter 1_NG_2020.ppt
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
Chapter 1 introduction
Chapter 1 introductionChapter 1 introduction
Chapter 1 introduction
 
Chapter One.ppt
Chapter One.pptChapter One.ppt
Chapter One.ppt
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
Chapter 1-Introduction.ppt
Chapter 1-Introduction.pptChapter 1-Introduction.ppt
Chapter 1-Introduction.ppt
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
 
20IT703_PDS_PPT_Unit_I.ppt
20IT703_PDS_PPT_Unit_I.ppt20IT703_PDS_PPT_Unit_I.ppt
20IT703_PDS_PPT_Unit_I.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
 
Chap 01
Chap 01Chap 01
Chap 01
 
Chap 01
Chap 01Chap 01
Chap 01
 
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptxChapter-1-IntroDistributeddffsfdfsdf-1.pptx
Chapter-1-IntroDistributeddffsfdfsdf-1.pptx
 
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
 
Lecture 1 distriubted computing
Lecture 1 distriubted computingLecture 1 distriubted computing
Lecture 1 distriubted computing
 
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
 
Computing notes
Computing notesComputing notes
Computing notes
 
Lect 1 Distributed System.pptx
Lect 1 Distributed System.pptxLect 1 Distributed System.pptx
Lect 1 Distributed System.pptx
 
Distributed Operating System.pptx
Distributed Operating System.pptxDistributed Operating System.pptx
Distributed Operating System.pptx
 
- Introduction - Distributed - System -
- Introduction - Distributed - System  -- Introduction - Distributed - System  -
- Introduction - Distributed - System -
 

Recently uploaded

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonJericReyAuditor
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 

Recently uploaded (20)

TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Science lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lessonScience lesson Moon for 4th quarter lesson
Science lesson Moon for 4th quarter lesson
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 

istributed system

  • 1. Principles and characteristics of distributed systems and environments
  • 2. Definition of a distributed system  Distributed system is a collection of independent computers that appears to its users as a single coherent system.  Distributed computing is decentralised and parallel computing, using two or more computers communicating over a network to accomplish a common objective or task. The types of hardware, programming languages, operating systems and other resources may vary drastically.  Leslie Lamport: A distributed system is one I which the failure of a computer you didn’t even know existed can render your computer unusable.
  • 3. Definition cont.  2 aspects Deals with hardware: machines are autonomous Deals with software: the users think they are dealing with a single system  Important characteristics Communication is hidden from users Applications can interact with uniform and consistent way Relatively easy to expand or scale (DS will normally be continuously available) A distributed system should be functionally equivalent to the systems of which it is composed.
  • 4. Distributed system as Middleware service If the system as a whole looks and acts like a classical single-processor timesharing system, it qualifies as a distributed system.
  • 5. Goals A DS should easily connect users to resources; it should hide the fact that resources are distributed across a network; should be open and scalable. 4 goals: Connecting users and resources Transparency Openness Scalability
  • 6. Connecting users and resources Share resources (hw components, data) Groupware Security aspects
  • 7. Transparency Transparent ~ present itself to users and applications as if it were only a single computer system Different forms of transparency in a distributed system ANSA Reference Manual [1989] and ISO Reference Model For Open Distributed Processing (RM-ODP) [1992/7]
  • 8. Openness  System that offers services according to standard rules that describe the syntax and semantics  Generally specified through interfaces, often described in Interface Definition Language (IDL)  Interoperability – characterizes two implementations of system can co-exists and work together  Portability – characterizes to what extent an application developed for a distributed system A can be executed, without modification, on distributed system B that implements the same interface as A  Small replaceable and adaptable parts - provide definitions of not only the highest-level interfaces, those used by applications, but also definitions for interfaces to internal parts
  • 9. Scalability Measure at least 3 different dimensions Size – easily add more users and resources to system Geographically scalable system – lie far apart Administratively scalable – independent administrative organizations Scalability in one or more dimensions often means loss of performance – should not be significant.
  • 10. Scalability cont.  Performance  Congestion of communication links  Only decentralized algorithms should be used (no machine has complete information; decisions based on local information; failure of one machine does not ruin the algorithm; no implicit assumption of global clock) Example of scalability limitations
  • 11. Scaling techniques 3 techniques for scaling Hiding communication latencies - Asynchronous communication Distribution - domains Replication – caching -> consistency problems !
  • 12. Why Distributed Systems? Geographically distributed environment Speed up Parallel vs. Distributed Systems (synchronous SIMD or MIMD; asynchronous process) Resource sharing HW and SW (databases) Fault tolerance Detection, Recover Logical distribution of functional capabilities: multiple processes, interprocess communication, disjoint address space, collective goal
  • 13. Issues in Distributed Systems  Knowledge of process  Identity, Identity of it’s immediate neighbors, communication channel to neighbors  Network topology  Completely or sparsely connected, message routing, channel uni/bi-directional  Degree of synchronization  Clock drift, propagation delay  Failures  Type of failure and duration of failure  Scalabilty  Time and space complexity (O(log N) ~ excellent, O(N) ~ pure)
  • 14. Common Subproblems Leader election Mutual exclusion Time synchronization Global state Replica management
  • 15. RM-ODP Reference Model – Open Distributed Processing ITU-T X.9xx standards, X.901 – Overview Viewpoints (and their languages) Enterprise Information Computational Engineering Technology
  • 16. Hardware concepts DS consist of multiple CPU – several different ways of HW organization Multiprocessors – have shared memory Multicomputers – without shared memory
  • 17. Hardware concepts cont. Architecture of interconnection network Bus Switched Distributed computer system (significant for multicomputers) Homogenous – single interconnection network Heterogeneous – different networks (LAN connected through FDDI, ATM)
  • 18. Multiprocessors Coherent Overloaded bus –> cache memory between CPU and bus (hit rate) Bus suitable until 256 CPUs
  • 19. Multiprocessors cont.  Crossbar switch – crosspoint switch n CPUs and n memories = n2 crosspoint switches  Omega network 2x2 switches, each two inputs and two outputs Fast switching, not cheap  NUMA (NonUniform Memory Access) Fast access to local memory, slow to other’s Better average access times than omega networks
  • 21. Homogenous Multicomputer Systems  Relative easy acording multiprocessors  CPU-to-CPU and CPU-to-memory communication  System Area Networks (SANs) High performance interconnection network  Bus-based – Fast Ethernet 25-100 nodes  Switch-based – messages routed Mesh, hypercube Vary widely from Massively Parallel Processors (MPPs) to Clusters of Workstations (COWs)
  • 22. Heterogenous Multicomputer Systems Most distributed systems build on it Due to scale, inherent heterogeneity, and most of all, lack of global system view, sophisticated software is needed to build apps for heterogeneous multicomputers.  Provide transparency for apps. Example DAS http://www.cs.vu.nl/~bal/das.html I-way project
  • 23. Software concepts  Determines what a DS actually looks like  Resource manager for underlying hardware  Operating systems for distributed computers Tightly-coupled – distributed operating system (multiprocessors, homogenous multicomputer systems) Loosely-coupled – network operating system (heterogeneous multicomputer systems) Middleware – enhancements to services of network operating systems – distribution transparency
  • 25. Uniprocessor Operating Systems Implement a virtual machine Apps protected each other OS should be in full control of how hw resources are used and shared Kernel mode User mode Architecture Monolithic kernel Microkernel
  • 26. Multiprocessor Operating Systems Support for multiple CPUs having access to shared memory IPC done through memory – protect against simultaneous access Synchronization primitives Semaphore – atomic operations down and up Monitor – private variable and public procedures (operations)
  • 27. Multicomputer Operating Systems Different structure and complexity than multiprocessor operating systems Communication done by message passing Software implementation of shared memory – not always Message passing primitives may vary widely in different OS
  • 29. Multicomputer Operating Systems cont. Reliability of message delivery ?
  • 30. Distributed Shared Memory Systems Page-based distributed shared memory Address space divided into pages (4kB or 8kB) When CPU references address not present locally, trap occurs, OS fetches the page Essential normal paging
  • 31. Distributed Shared Memory Systems cont. (a) Pages in DSM (b) CPU 1 references page 10 (c) Situation if page 10 is read only and replication used
  • 32. Network Operation Systems Do not assume that underlying hardware is homogeneous and that it should be managed as if it were a single system Facilities to allow users to make use of the services available on specific machine Service accessed commonly using commands rlogin machine rcp machine1:file1 machine2:file2
  • 33. Network Operation Systems cont. Network operating systems are clearly more primitive than distributed operating systems. The main distinction between the two types of operating systems is that distributed operating systems make serious attempt to realize full transparency, that is, provide a single-system view.
  • 34. Middleware DOS and NOS don’t qualify definition of DS Modern distributed systems are constructed by means of an additional layer called middleware. Additional layer of software between applications and the network operating system
  • 35. Middleware cont. Goal is to hide heterogeneity of the underlying platforms from applications
  • 36. Middleware cont. Middleware models (paradigm) Everything as file (simple) – Plan 9, UNIX Distributed File Systems – reasonable scalable which contributes popularity Remote Procedure Calls – unaware of network communication Distributed Objects – unaware of network communication Distributed documents - WWW
  • 37. Middleware cont.  Middleware services high-level Communication facilities - Access transparency Naming – allows entities to be shared and accessed Persistence – through distributed file system or database Distributed transactions – atomic multiple read and write operations; write operation succeeds or fails Security – can’t rely on the underlying local operating system, must be implemented in middleware, security has turned out to be one of the hardest services to implement
  • 38. Middleware and Openness  Modern distributed systems as middleware  Applications are independent of operating system  Independence replaced by strong dependency of specific middleware  Need that middleware protocols and interfaces are the same in different implementations
  • 40. Client – Server Model Server – process implementing a specific service Client – process that requests service from server by sending request and waiting for response
  • 41. Client – Server Model cont. Application layering Distinction of 3 levels The user-interface level The processing level The data level
  • 43. Modern architectures  Vertical distribution – multitiered architectures  Horizontal distribution – distribution split into equivalent parts (clients or servers)  Peer-to-peer distribution