Dist Comp Intro
Dist Comp Intro
Introduction
Manish Parashar
parashar@ece.rutgers.edu
Department of Electrical &
Computer Engineering
Rutgers University
Definition of a Distributed System (1)
A collection of independent
computers that appears to its
users as a single coherent
system.
Definition of a Distributed System (2)
1.1
intranet ☎
☎
☎ ISP
backbone
satellite link
desktop computer:
server:
network link:
A typical intranet
email server Desktop
computers
print and other servers
Local area
Web server network
email server
print
File server
other servers
the rest of
the Internet
router/firewall
Portable and handheld devices in a
distributed system
Internet
Mobile
phone
Printer Laptop
Camera Host site
Web servers and web browsers
http://www.google.comlsearch?q=kindberg
www.google.com
www.cdk3.net Internet
http://www.cdk3.net/
www.w3c.org
Activity.html
Distributed Computing Issues
Heterogeneity
– Networks, hardware, OS, programming language, data representations,
etc.
• Interoperability: Middleware, mobile code, protocols
Openness
– Access, extendibility, …
Security
– Confidentiality, integrity, availabilty
Scalability
Failure Handling
– Detecting failures, masking failures, tolerating failures, tolerating
failures, recovery from failures, redundancy
Concurrency
– Consistency, causality, mutual exclusion, etc, ..
Transparency
Transparency in a Distributed System
Transparency Description
Hide differences in data representation and how a
Access
resource is accessed
Location Hide where a resource is located
Migration Hide that a resource may move to another location
Hide that a resource may be moved to another
Relocation
location while in use
Hide that a resource may be shared by several
Replication
competitive users
Hide that a resource may be shared by several
Concurrency
competitive users
Failure Hide the failure and recovery of a resource
Hide whether a (software) resource is in memory or
Persistence
on disk
Concept Example
1.4
1.5
1.6
1.7
A bus-based multiprocessor.
Multiprocessors (2)
1.8
a) A crossbar switch
b) An omega switching network
Homogeneous Multicomputer Systems
1-9
a) Grid
b) Hypercube
Software Concepts
System Description Main Goal
An overview between
• DOS (Distributed Operating Systems)
• NOS (Network Operating Systems)
• Middleware
Uniprocessor Operating Systems
1.11
1.14
1.15
Reliable comm.
Synchronization point Send buffer
guaranteed?
Block sender until buffer not full Yes Not necessary
a) Pages of address
space distributed
among four
machines
b) Situation after
CPU 1 references
page 10
c) Situation if page
10 is read only
and replication is
used
Distributed Shared Memory Systems (2)
1.18
1-19
1-20
1.21
1-22
1.23
Number of copies of OS 1 N N N
Basis for Shared
Messages Files Model specific
communication memory
Global, Global,
Resource management Per node Per node
central distributed
Scalability No Moderately Yes Varies
1.25
A sample server.
An Example Client and Server (3)
1-27 b
1-28
1-29
1-30
1-31