DS CH2 System Models
DS CH2 System Models
Temesgen Mekonnen
Fall
2021
Literature
Textbook
References
1, Physical models
• Baseline physical model – minimal physical model of a
distributed system as an extensible set of computer nodes
interconnected by a computer network for the required
passing of messages.
System models
Such systems emerged in the late 1970s and early 1980s in response to the
emergence of LAN technology
10 and 100 nodes interconnected by a local area network
limited Internet connectivity
Supported a small range of services e.g.
∗ shared local printers
∗ file servers
∗ email services
∗ file transfer services
– Mobile computing
∗ laptops or smart phones may move from location to location
– need for added capabilities (service discovery; support for
spontaneous interoperation)
– Ubiquitous computing
2, Architectural Models
The architecture of a system is its structure in terms of separately
specified components and their interrelationships.
Communicating Entities
∗ nodes (sensors)
∗ threads (endpoints of communication)
– Objects
∗ computation consists of a number of interacting objects
representing natural units of decomposition for the given
problem domain
∗ Objects are accessed via interfaces, with an associated
interface defi- nition language (or IDL)
System models
Communication Paradigms
• Interprocess communication
• Remote invocation
• Indirect communication
Indirect communication
• Senders and receivers do not need to exist at the same time (time
uncoupling)
• Message queues:
– Other processes can either read or remove such tuples from the
tuple space by specifying patterns of interest
– Readers and writers do not need to exist at the same time (Since
the tuple space is persistent)
• Client-server
Figure 2.3 Clients invoke individual
servers
System models
• Peer-to-peer
Figure 2.4a Peer-to-peer
architecture
Placement
• crucial in terms of determining the DS
properties:
– Performance
– Reliability
– Security
– Mapping distributed
objects between servers,
or
– Replicating copies on
several hosts
–Running program (including both code and data) that travels from
one computer to another in a network carrying out a task on
someone’s behalf (e.g. collecting information), and eventually
returning with the results
2 Architectural Patterns
• Given layer making use of the services offered by the layer below
• Software abstraction
• Presentation logic
• Application logic
• Data logic
System models
Figure 2.8 Two-tier and three-tier
• Three aspects par-
architectures
titioned into two
processes
• proxy pattern
• Reflection pattern
3, Fundamental Models
What is:
• Interaction model?
• Failure model?
• Security model?
1. Interaction model
Event ordering
– or in the network
Omission Failures
Crash is called fail-stop if other processes can detect certainly that the
process has crashed
System models
Arbitrary Failures
Arbitrary or Byzantine failure is used to describe the worst possible failure,
in which any type of error may occur
Figure 2.15 Omission and arbitrary failures
System models
Timing Failures
Failure Masking
Protecting Objects by
• Users with access rights
Threats To Processes
Authentication
Secure channels
• Denial of service: