Distributed System Models: Most Concepts Are Drawn From Chapter 2
Distributed System Models: Most Concepts Are Drawn From Chapter 2
Distributed System Models: Most Concepts Are Drawn From Chapter 2
Introduction
Characterization
Internal problems
External threats
Observations
Internal problems
External threats
Architectural model
Fundamental Models
Physical Models
Physical Models
Architectural Models
Software Layers
System Architectures
Interfaces and Objects
Design Requirements
Architectural Model:
Server processes
Client processes
Peer processes
client
client
server
server
Layer 2
(services offered to above layer)
Layer 1
Applications, services
Middlew are
Operating system
Platform
Computer and netw ork hardw are
Platform
Intel x86/Windows
Intel x86/Linux
Intel x86/Solaris
SPARC/SunOS
PowerPC/MacOS
Middleware
System Architecture
Client
invocation
result
Client
invocation
Server
result
Key:
Process:
Server
Computer:
client
client
server
server
client
client
server
server
Server/client
Server/client
server
server
Server/client
Server/client
Server/client
Server/client
server
server
Server
Client
Server
Client
Server
Client
Proxy
server
Client
Web
server
Application
Application
Peer 3
Sharable
objects
Application
Peer 4
Application
Peers 5 .... N
peer
peer
peer
peer
peer
peer
peer
peer
peer
peer
peer
peer
peer
peer
Client
Applet code
Web
server
Client
Applet
Web
server
Network computer or PC
Thin
Client
network
Application
Process
Distribution of responsibilities
Synchronization mechanisms between client and server
Admissible types of requests/responses
File server is responsible for file, not for web pages.
Performance Issues
Responsiveness
Throughput
Load balancing and timeliness
Quality of Service:
Reliability
Security
Adaptive performance.
Dependability issues:
Correctness, security, and fault tolerance
Dependable applications continue to work in the presence of
faults in hardware, software, and networks.
Presentation Outline
Introduction
Architectural Models
Software Layers
System Architectures
Client-Server
Design Challenges/Requirements
Interaction Model
Interaction Model:
Performance of Communication Channel
Streams
Simple message passing over a network.
Latency:
Bandwidth:
Jitter
Interaction Model:
Computer clocks and timing events
Interaction Model:
Two variants of the interaction model
Interaction Model:
Event Ordering
receive
m1
2
receive
receive
4
send
3
m2
receive
Physical
time
send
receive
receive
m3
A
t1
t2
m1
m2
Item
23
From
Z
Subject
Re: Meeting
24
Meeting
26
Re: Meeting
Failure Model
Omission Failure
Arbitrary Failure
Timing Failure
process p
process q
send m
receive
Communication channel
Outgoing message buffer
Description
Processhaltsandremainshalted.Otherprocessesmay
detectthisstate.
Crash
Process Processhaltsandremainshalted.Otherprocessesmay
notbeabletodetectthisstate.
Omission
Channel Amessageinsertedinanoutgoingmessagebuffernever
arrivesattheotherendsincomingmessagebuffer.
Sendomission Process Aprocesscompletesasend,butthemessageisnot
putinitsoutgoingmessagebuffer.
ReceiveomissionProcess Amessageisputinaprocesssincomingmessage
buffer,butthatprocessdoesnotreceiveit.
Arbitrary
Processor Process/channelexhibitsarbitrarybehaviour:itmay
(Byzantine)
channel send/transmitarbitrarymessagesatarbitrarytimes,
commitomissions;aprocessmaystoportakean
incorrectstep.
Timing failures
ClassofFailure Affects
Clock
Process
Performance
Process
Performance
Channel
Description
Processslocalclockexceedstheboundsonits
rateofdriftfromrealtime.
Processexceedstheboundsontheinterval
betweentwosteps.
Amessagestransmissiontakeslongerthanthe
statedbound.
Masking Failures
Security Model
Access rights
Object
invocation
Client
result
Principal (user)
Netw ork
Server
Principal (server)
The enemy
Copy of m
The enemy
Processp
Processq
Communication channel
PrincipalB
PrincipalA
Processp
Secure channel
Processq
Summary
Client-Server