Professional Documents
Culture Documents
1. Distributed
Systems
What is a distributed system?
No shared memory
No shared clock
-4-
Where they are used?
Advantages
Communication and resource sharing possible
Economics – price-performance ratio
Reliability, scalability
Potential for incremental growth
Disadvantages
-6-
Design Goals/ Characteristics
• Distributed Transparency
Location
Migration
Replication
Concurrency
• Openness
• Scalability
• Fault-tolerance
• High availability
• Recoverability
• Performance Predictability
• Security
Transparency in a Distributed System
Transparency Description
Hide differences in data representation and how a resource is
Access
accessed
Location Hide where a resource is located
Migration Hide that a resource may move to another location
Relocation Hide that a resource may be moved to another location while in use
Replication Hide that a resource may be shared by several competitive users
Hide that a resource may be performed by several heterogeneous
Concurrency
resources(h/w)
Failure Hide the failure and recovery of a resource
-8-
Parallel vs. Distributed Systems
A concurrent system could be Parallel or Distributed:
Two possible Views to make the distinction
・
View 1:
・
Parallel System: a particular tightly-coupled form of distributed computing
Distributed System: a loosely-coupled form of parallel computing
・
View 2:
・
Parallel System: processors access a shared memory to exchange information
Distributed System: uses a “distributed memory”. Massage passing is used to
exchange information between the processors as each one has its own private
memory.
Hardware Concepts: Multiprocessors(1/2)
Multiprocessor dimensions
Memory: could be shared or be private to each CPU
Interconnect: could be shared (bus-based) or
switched
A bus-based multiprocessor
-10-
Hardware Concepts: Multiprocessors(2/2)
Memories
CPUs Memories
CPUs
-12-
Hardware Model
Microkernel architecture
Small kernel
user-level servers implement additional functionality
Kernel mode
System call Microkernel
Hardware
-16-
Distributed Operating System
Provides transparency
Location, migration, concurrency, replication,…
-17-
Types of Distributed OSs
-19-
Multicomputer Operating Systems (2/2)
Distributed applications
Network
-20-
Network Operating System (1/2)
Distributed applications
Network
-21-
Network Operating System (2/2)
File server
Network
-22-
Middleware-based Systems
Distributed applications
Middleware services
Network
-23-
Distributed system organizations
Microcomputer model
Workstations/PCs model
-24-
Distributed System : HW vs SW
Connection Topology
B
a
c
k
b
o
n
e
Ring
topology
Bus topology
no global memory
no common clock
unpredictable message delays
-31-
Naming
-32-
Scalability, Process Synch
Scalability
Process synchronization
-33-
Compatibility
Execution level: same source code can be compiled and run on all nodes
-34-
Resource management
Computation migration
e.g. RPC
e.g. send a query for info computed remotely
instead of requesting raw data
Distributed scheduling
process migration
-35-
Security
Authentication
Authorization
-36-