Professional Documents
Culture Documents
Architectural Styles of Distributed Systems
Architectural Styles of Distributed Systems
LAYERED DATA-CENTERED
ARCHITECTURES ARCHITECTURES
EVENT-BASED
ARCHITECTURES
Actions
CONTENT-BASED SUBJECT-BASED
Centralized System Hybrid
Architectures
Client-Server + Decnetralized
Client-Server organization
Multitier organization:
–“Servers as clients”
Basic client‐server
(request-reply)
model: (Two Decentralized
processes)
Peer-to-peer networks
Communication
between client
and server is
implemented by :
Connectionless protocol when underlying network is reliable. (UDP)
Reliable connection-oriented protocol when underlying network is unreliable. (TCP)
Easier to handle asynchronous
Easier to handle priority scheduling
events
Multi-threaded
– Can continue to run if one
thread blocks on a system call.
Thread NO PARALLELISM
Implementation Blocking system call
LIGHT WEIGHT
PROCESSES
(LWP)
INSTRUCTION
SET LIBRARY
ARCHITECTURE SYSTEM CALLS CALLS
the set of machine as offered by AN OS Also know as
instructions with two Application
subset; programming
interface
API
Privileged instruction
Executed allow by OS only
General instruction
Executed by any program
server cluster
1
SWITCHING
THREE
TIERED
SERVER 2 SERVERS
CLUSTER
3 DATA PROCESSING
SERVERS
Server Design
Load balancing
Reduce communication overhead
Parallelism
Flexibility
Three components of a process
STRONGEST TO WEEKEST
COLLABRATION MOBILE
AGENT AGENT
Know as multi Code can
agent system relocated and
work with each continue
Types of
other for executed
common goal
Software INFORMATION
INTERFACE
AGENT
Software
Agent AGENT
Design to
collect and
learning process
abilities dispersed data
and
information
TYPES OF COMMUNICATION
PERSISTENT DISCRETE
VS VS
TRANSIENT STREAMING
SYNCHRONOUS
VS
ASYNCHRONOUS
Remote
Procedure
Call
Multicast
communication
01 Distributed File
service
RPC 02 Directory
SERVICES service
PROVIDED 03 Security
service
04 Distributed
Time service
Representation
Types Representation
temporal relations between data are not so much (text, still pictures, etc.)
significant
DATA STREAM MODES
Synchornous
01 03
Transmits each data unit with a
guaranteed upper limit to the
delay for each unit.
Ioschronous
Asynchronous
The orders are important, and
02 Have a maximum and
data is transmitted one after minimum delay.
the other.