SlideShare a Scribd company logo
Distributed Systems
Tanenbaum Chapter 1
Outline
• Types of Distributed Systems
Types of Distributed Systems
• Distributed Computing Systems
– Clusters
– Grids
– Clouds
• Distributed Information Systems
– Transaction Processing Systems
– Enterprise Application Integration
• Distributed Embedded Systems
– Home systems
– Health care systems
– Sensor networks
Cluster Computing
• A collection of similar processors (PCs,
workstations) running the same operating
system, connected by a high-speed LAN.
• Parallel computing capabilities using
inexpensive PC hardware
• Replace big parallel computers (MPPs)
Cluster Types & Uses
• High Performance Clusters (HPC)
– run large parallel programs
– Scientific, military, engineering apps; e.g., weather
modeling
• Load Balancing Clusters
– Front end processor distributes incoming requests
– server farms (e.g., at banks or popular web site)
• High Availability Clusters (HA)
– Provide redundancy – back up systems
– May be more fault tolerant than large mainframes
Clusters – Beowulf model
• Linux-based
• Master-slave paradigm
– One processor is the master; allocates tasks to
other processors, maintains batch queue of
submitted jobs, handles interface to users
– Master has libraries to handle message-based
communication or other features (the
middleware).
Cluster Computing Systems
• Figure 1-6. An example of a cluster
computing system.
Figure 1-6. An example of a (Beowolf) cluster
computing system
Clusters – MOSIX model
• Provides a symmetric, rather than
hierarchical paradigm
– High degree of distribution transparency (single
system image)
– Processes can migrate between nodes
dynamically and preemptively (more about this
later.) Migration is automatic
• Used to manage Linux clusters
More About MOSIX
“
The MOSIX Management System for Linux Clusters, Multi-clusters, GP
U Clusters and Clouds”, A. Barak and A. Shiloh”
• “Operating-system-like”; looks & feels like
a single computer with multiple processors
• Supports interactive and batch processes
• Provides resource discovery and workload
distribution among clusters
• Clusters can be partitioned for use by an
individual or a group
• Best for compute-intensive jobs
Grid Computing Systems
• Modeled loosely on the electrical grid.
• Highly heterogeneous with respect to
hardware, software, networks, security
policies, etc.
• Grids support virtual organizations: a
collaboration of users who pool resources
(servers, storage, databases) and share them
• Grid software is concerned with managing
sharing across administrative domains.
Grids
• Similar to clusters but processors are more loosely
coupled, tend to be heterogeneous, and are not all
in a central location.
• Can handle workloads similar to those on
supercomputers, but grid computers connect over a
network (Internet?) and supercomputers’ CPUs
connect to a high-speed internal bus/network
• Problems are broken up into parts and distributed
across multiple computers in the grid – less
communication betw parts than in clusters.
A Proposed Architecture for Grid Systems*
• Fabric layer: interfaces to local
resources at a specific site
• Connectivity layer: protocols to
support usage of multiple resources
for a single application; e.g., access
a remote resource or transfer data
between resources; and protocols to
provide security
• Resource layer manages a single
resource, using functions supplied
by the connectivity layer
• Collective layer: resource
discovery, allocation, scheduling,
etc.
• Applications: use the grid
resources
• The collective, connectivity and
resource layers together form the
middleware layer for a grid
Figure 1-7. A layered architecture
for grid computing systems
OGSA – Another Grid Architecture*
• Open Grid Services Architecture (OGSA) is
a service-oriented architecture
– Sites that offer resources to share do so by
offering specific Web services.
• The architecture of the OGSA model is
more complex than the previous layered
model.
Globus Toolkit*
• An example of grid middleware
• Supports the combination of heterogeneous
platforms into virtual organizations.
• Implements the OSGA standards, among
others.
Cloud Computing
• Provides scalable services as a utility over
the Internet.
• Often built on a computer grid
• Users buy services from the cloud
– Grid users may develop and run their own
software
• Cluster/grid/cloud distinctions blur at the
edges!
Types of Distributed Systems
• Distributed Computing Systems
– Clusters
– Grids
– Clouds
• Distributed Information Systems
• Distributed Embedded Systems
Distributed Information Systems
• Business-oriented
• Systems to make a number of separate
network applications interoperable and
build “enterprise-wide information
systems”.
• Two types discussed here:
– Transaction processing systems
– Enterprise application integration (EAI)
Transaction Processing Systems
• Provide a highly structured client-server
approach for database applications
• Transactions are the communication model
• Obey the ACID properties:
– Atomic: all or nothing
– Consistent: invariants are preserved
– Isolated (serializable)
– Durable: committed operations can’t be undone
Transaction Processing Systems
• Figure 1-8. Example primitives for
transactions.
Figure 1-8. Example primitives for transactions
Transactions
• Transaction processing may be centralized
(traditional client/server system) or
distributed.
• A distributed database is one in which the
data storage is distributed – connected to
separate processors.
Nested Transactions
• A nested transaction is a transaction within
another transaction (a sub-transaction)
– Example: a transaction may ask for two things
(e.g., airline reservation info + hotel info)
which would spawn two nested transactions
• Primary transaction waits for the results.
– While children are active parent may only
abort, commit, or spawn other children
Transaction Processing Systems
Figure 1-9. A nested transaction.
Implementing Transactions
• Conceptually, private copy of all data
• Actually, usually based on logs
• Multiple sub-transactions – commit, abort
– Durability is a characteristic of top-level
transactions only
• Nested transactions are suitable for
distributed systems
– Transaction processing monitor may interface
between client and multiple data bases.
Enterprise Application Integration
• Less structured than transaction-based systems
• EA components communicate directly
– Enterprise applications are things like HR data,
inventory programs, …
– May use different OSs, different DBs but need to
interoperate sometimes.
• Communication mechanisms to support this
include CORBA, Remote Procedure Call (RPC)
and Remote Method Invocation (RMI)
Enterprise Application
Integration
Figure 1-11. Middleware as a communication facilitator in enterprise
application integration.
Distributed Pervasive Systems
• The first two types of systems are characterized by
their stability: nodes and network connections are
more or less fixed
• This type of system is likely to incorporate small,
battery-powered, mobile devices
– Home systems
– Electronic health care systems – patient monitoring
– Sensor networks – data collection, surveillance
Home System
• Built around one or more PCs, but can also
include other electronic devices:
– Automatic control of lighting, sprinkler
systems, alarm systems, etc.
– Network enabled appliances
– PDAs and smart phones, etc.
Electronic Health Care Systems
Figure 1-12. Monitoring a person in a pervasive electronic health care
system, using (a) a local hub or (b) a continuous wireless connection.
Sensor Networks
• A collection of geographically distributed nodes
consisting of a comm. device, a power source,
some kind of sensor, a small processor…
• Purpose: to collectively monitor sensory data
(temperature, sound, moisture etc.,) and
transmit the data to a base station
• “smart environment” – the nodes may do some
rudimentary processing of the data in addition
to their communication responsibilities.
Sensor Networks
Figure 1-13. Organizing a sensor network database, while storing and
processing data (a) only at the operator’s site or …
Sensor Networks
Figure 1-13. Organizing a sensor network database, while storing and
processing data … or (b) only at the sensors.
Summary – Types of Systems
• Distributed computing systems – our main
emphasis
• Distributed information systems – we will
talk about some aspects of them
• Distributed pervasive systems – not so
much
****
Questions?
Additional Slides
• Distributed Systems – Historical
Perspective
• Grid Computing Sites
Historical Perspective - MPPs
• Compare clusters to the Massively Parallel
Processors of the 1990’s
• Many separate nodes, each with its own
private memory –hundreds or thousands of
nodes (e.g., Cray T3E, nCube)
– Manufactured as a single computer with a
proprietary OS, very fast communication
network.
– Designed to run large, compute-intensive
parallel applications
– Expensive, long time-to-market cycle
Historical Perspective - NOWs
• Networks of Workstations
• Designed to harvest idle workstation cycles
to support compute-intensive applications.
• Advocates contended that if done properly,
you could get the power of an MPP at
minimal additional cost.
• Supported general-purpose processing and
parallel applications
Other Grid Resources
• The Globus Alliance: “a community of organizations
and individuals developing fundamental technologies
behind the "Grid," which lets people share computing
power, databases, instruments, and other on-line tools
securely across corporate, institutional, and geographic
boundaries without sacrificing local autonomy”
• Grid Computing Info Center: “aims to promote the
development and advancement of technologies that
provide seamless and scalable access to wide-area
distributed resources”

More Related Content

PPTX
2. Types of distributed systems ssssssssss.pptx
PDF
CCUnit1.pdf
PPTX
Cloud computing basic introduction and notes for exam
PPT
Intorduction Distributed and Parallel Computing.ppt
PDF
introduction to cloud computing for college.pdf
PPTX
ccs335cloudcomputing-231217103625-aae5b1a9 (1).pptx
PPTX
CCS335 – CLOUD COMPUTING.pptx
PPTX
CCS335 - Cloud architecture model and infrastructure
2. Types of distributed systems ssssssssss.pptx
CCUnit1.pdf
Cloud computing basic introduction and notes for exam
Intorduction Distributed and Parallel Computing.ppt
introduction to cloud computing for college.pdf
ccs335cloudcomputing-231217103625-aae5b1a9 (1).pptx
CCS335 – CLOUD COMPUTING.pptx
CCS335 - Cloud architecture model and infrastructure

Similar to Lecture 3 - Types of Distributed Systems.ppt (20)

PPT
An Introduction to Cloud Computing and Lates Developments.ppt
PPTX
Distributed Computing system
PPTX
Chapter 20
PPTX
1..pptxcloud commuting cloud commuting cloud commuting
PPTX
Overview of Distributed Systems
PPTX
Lect 2 Types of Distributed Systems.pptx
PPTX
Apos week 1 4
PDF
OIT552 Cloud Computing Material
PDF
Week 1 lecture material cc
PDF
Week 1 Lecture_1-5 CC_watermark.pdf
PDF
_Cloud_Computing_Overview.pdf
PPTX
Session 2(Types of operating system).pptx
PPTX
cloud computing1234567891234567891223 .pptx
PPTX
Cloud Computing in Cloud Computing .pptx
PPTX
Lect 1 Distributed System.pptx
PPTX
vssutcloud computing.pptx
PPTX
Computing Environment
PPTX
Cloud Computing Introduction presentation
PPT
4.Hardware concepts, Software Concept & Middleware.ppt
PPT
chap-0 .ppt
An Introduction to Cloud Computing and Lates Developments.ppt
Distributed Computing system
Chapter 20
1..pptxcloud commuting cloud commuting cloud commuting
Overview of Distributed Systems
Lect 2 Types of Distributed Systems.pptx
Apos week 1 4
OIT552 Cloud Computing Material
Week 1 lecture material cc
Week 1 Lecture_1-5 CC_watermark.pdf
_Cloud_Computing_Overview.pdf
Session 2(Types of operating system).pptx
cloud computing1234567891234567891223 .pptx
Cloud Computing in Cloud Computing .pptx
Lect 1 Distributed System.pptx
vssutcloud computing.pptx
Computing Environment
Cloud Computing Introduction presentation
4.Hardware concepts, Software Concept & Middleware.ppt
chap-0 .ppt
Ad

Recently uploaded (20)

PPT
tcp ip networks nd ip layering assotred slides
PPTX
artificial intelligence overview of it and more
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
The Internet -By the Numbers, Sri Lanka Edition
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
Digital Literacy And Online Safety on internet
DOCX
Unit-3 cyber security network security of internet system
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
Internet___Basics___Styled_ presentation
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
presentation_pfe-universite-molay-seltan.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
tcp ip networks nd ip layering assotred slides
artificial intelligence overview of it and more
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
The Internet -By the Numbers, Sri Lanka Edition
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Cloud-Scale Log Monitoring _ Datadog.pdf
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
522797556-Unit-2-Temperature-measurement-1-1.pptx
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
Digital Literacy And Online Safety on internet
Unit-3 cyber security network security of internet system
WebRTC in SignalWire - troubleshooting media negotiation
Internet___Basics___Styled_ presentation
Power Point - Lesson 3_2.pptx grad school presentation
presentation_pfe-universite-molay-seltan.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
SAP Ariba Sourcing PPT for learning material
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Module 1 - Cyber Law and Ethics 101.pptx
Ad

Lecture 3 - Types of Distributed Systems.ppt

  • 2. Outline • Types of Distributed Systems
  • 3. Types of Distributed Systems • Distributed Computing Systems – Clusters – Grids – Clouds • Distributed Information Systems – Transaction Processing Systems – Enterprise Application Integration • Distributed Embedded Systems – Home systems – Health care systems – Sensor networks
  • 4. Cluster Computing • A collection of similar processors (PCs, workstations) running the same operating system, connected by a high-speed LAN. • Parallel computing capabilities using inexpensive PC hardware • Replace big parallel computers (MPPs)
  • 5. Cluster Types & Uses • High Performance Clusters (HPC) – run large parallel programs – Scientific, military, engineering apps; e.g., weather modeling • Load Balancing Clusters – Front end processor distributes incoming requests – server farms (e.g., at banks or popular web site) • High Availability Clusters (HA) – Provide redundancy – back up systems – May be more fault tolerant than large mainframes
  • 6. Clusters – Beowulf model • Linux-based • Master-slave paradigm – One processor is the master; allocates tasks to other processors, maintains batch queue of submitted jobs, handles interface to users – Master has libraries to handle message-based communication or other features (the middleware).
  • 7. Cluster Computing Systems • Figure 1-6. An example of a cluster computing system. Figure 1-6. An example of a (Beowolf) cluster computing system
  • 8. Clusters – MOSIX model • Provides a symmetric, rather than hierarchical paradigm – High degree of distribution transparency (single system image) – Processes can migrate between nodes dynamically and preemptively (more about this later.) Migration is automatic • Used to manage Linux clusters
  • 9. More About MOSIX “ The MOSIX Management System for Linux Clusters, Multi-clusters, GP U Clusters and Clouds”, A. Barak and A. Shiloh” • “Operating-system-like”; looks & feels like a single computer with multiple processors • Supports interactive and batch processes • Provides resource discovery and workload distribution among clusters • Clusters can be partitioned for use by an individual or a group • Best for compute-intensive jobs
  • 10. Grid Computing Systems • Modeled loosely on the electrical grid. • Highly heterogeneous with respect to hardware, software, networks, security policies, etc. • Grids support virtual organizations: a collaboration of users who pool resources (servers, storage, databases) and share them • Grid software is concerned with managing sharing across administrative domains.
  • 11. Grids • Similar to clusters but processors are more loosely coupled, tend to be heterogeneous, and are not all in a central location. • Can handle workloads similar to those on supercomputers, but grid computers connect over a network (Internet?) and supercomputers’ CPUs connect to a high-speed internal bus/network • Problems are broken up into parts and distributed across multiple computers in the grid – less communication betw parts than in clusters.
  • 12. A Proposed Architecture for Grid Systems* • Fabric layer: interfaces to local resources at a specific site • Connectivity layer: protocols to support usage of multiple resources for a single application; e.g., access a remote resource or transfer data between resources; and protocols to provide security • Resource layer manages a single resource, using functions supplied by the connectivity layer • Collective layer: resource discovery, allocation, scheduling, etc. • Applications: use the grid resources • The collective, connectivity and resource layers together form the middleware layer for a grid Figure 1-7. A layered architecture for grid computing systems
  • 13. OGSA – Another Grid Architecture* • Open Grid Services Architecture (OGSA) is a service-oriented architecture – Sites that offer resources to share do so by offering specific Web services. • The architecture of the OGSA model is more complex than the previous layered model.
  • 14. Globus Toolkit* • An example of grid middleware • Supports the combination of heterogeneous platforms into virtual organizations. • Implements the OSGA standards, among others.
  • 15. Cloud Computing • Provides scalable services as a utility over the Internet. • Often built on a computer grid • Users buy services from the cloud – Grid users may develop and run their own software • Cluster/grid/cloud distinctions blur at the edges!
  • 16. Types of Distributed Systems • Distributed Computing Systems – Clusters – Grids – Clouds • Distributed Information Systems • Distributed Embedded Systems
  • 17. Distributed Information Systems • Business-oriented • Systems to make a number of separate network applications interoperable and build “enterprise-wide information systems”. • Two types discussed here: – Transaction processing systems – Enterprise application integration (EAI)
  • 18. Transaction Processing Systems • Provide a highly structured client-server approach for database applications • Transactions are the communication model • Obey the ACID properties: – Atomic: all or nothing – Consistent: invariants are preserved – Isolated (serializable) – Durable: committed operations can’t be undone
  • 19. Transaction Processing Systems • Figure 1-8. Example primitives for transactions. Figure 1-8. Example primitives for transactions
  • 20. Transactions • Transaction processing may be centralized (traditional client/server system) or distributed. • A distributed database is one in which the data storage is distributed – connected to separate processors.
  • 21. Nested Transactions • A nested transaction is a transaction within another transaction (a sub-transaction) – Example: a transaction may ask for two things (e.g., airline reservation info + hotel info) which would spawn two nested transactions • Primary transaction waits for the results. – While children are active parent may only abort, commit, or spawn other children
  • 22. Transaction Processing Systems Figure 1-9. A nested transaction.
  • 23. Implementing Transactions • Conceptually, private copy of all data • Actually, usually based on logs • Multiple sub-transactions – commit, abort – Durability is a characteristic of top-level transactions only • Nested transactions are suitable for distributed systems – Transaction processing monitor may interface between client and multiple data bases.
  • 24. Enterprise Application Integration • Less structured than transaction-based systems • EA components communicate directly – Enterprise applications are things like HR data, inventory programs, … – May use different OSs, different DBs but need to interoperate sometimes. • Communication mechanisms to support this include CORBA, Remote Procedure Call (RPC) and Remote Method Invocation (RMI)
  • 25. Enterprise Application Integration Figure 1-11. Middleware as a communication facilitator in enterprise application integration.
  • 26. Distributed Pervasive Systems • The first two types of systems are characterized by their stability: nodes and network connections are more or less fixed • This type of system is likely to incorporate small, battery-powered, mobile devices – Home systems – Electronic health care systems – patient monitoring – Sensor networks – data collection, surveillance
  • 27. Home System • Built around one or more PCs, but can also include other electronic devices: – Automatic control of lighting, sprinkler systems, alarm systems, etc. – Network enabled appliances – PDAs and smart phones, etc.
  • 28. Electronic Health Care Systems Figure 1-12. Monitoring a person in a pervasive electronic health care system, using (a) a local hub or (b) a continuous wireless connection.
  • 29. Sensor Networks • A collection of geographically distributed nodes consisting of a comm. device, a power source, some kind of sensor, a small processor… • Purpose: to collectively monitor sensory data (temperature, sound, moisture etc.,) and transmit the data to a base station • “smart environment” – the nodes may do some rudimentary processing of the data in addition to their communication responsibilities.
  • 30. Sensor Networks Figure 1-13. Organizing a sensor network database, while storing and processing data (a) only at the operator’s site or …
  • 31. Sensor Networks Figure 1-13. Organizing a sensor network database, while storing and processing data … or (b) only at the sensors.
  • 32. Summary – Types of Systems • Distributed computing systems – our main emphasis • Distributed information systems – we will talk about some aspects of them • Distributed pervasive systems – not so much ****
  • 34. Additional Slides • Distributed Systems – Historical Perspective • Grid Computing Sites
  • 35. Historical Perspective - MPPs • Compare clusters to the Massively Parallel Processors of the 1990’s • Many separate nodes, each with its own private memory –hundreds or thousands of nodes (e.g., Cray T3E, nCube) – Manufactured as a single computer with a proprietary OS, very fast communication network. – Designed to run large, compute-intensive parallel applications – Expensive, long time-to-market cycle
  • 36. Historical Perspective - NOWs • Networks of Workstations • Designed to harvest idle workstation cycles to support compute-intensive applications. • Advocates contended that if done properly, you could get the power of an MPP at minimal additional cost. • Supported general-purpose processing and parallel applications
  • 37. Other Grid Resources • The Globus Alliance: “a community of organizations and individuals developing fundamental technologies behind the "Grid," which lets people share computing power, databases, instruments, and other on-line tools securely across corporate, institutional, and geographic boundaries without sacrificing local autonomy” • Grid Computing Info Center: “aims to promote the development and advancement of technologies that provide seamless and scalable access to wide-area distributed resources”