Distributed Systems Notes
Distributed Systems Notes
Flexibility:
Network OS:
➜ Build a system out of (only)
Properties required components
No single system image ➜ Extensibility: Components/services
Individual nodes are highly can be changed or added
autonomous
All distribution of tasks is ➜ Openness of interfaces and
explicit to the user specification
Examples: Linux, Windows ➜ Allows reimplementation
and extension
⮚ Placement of software
machines Combination of architectures:
Example:
Software Architecture ⮚ Superpeer networks
Logical organization and roles of ⮚ Collaborative distributed
software components systems
⮚ Layered ⮚ Edge-server systems
⮚ Object-oriented
COMMUNICATION MODES
• ➀ Remote Procedure ➜ Service discovery
Call (RPC) & Remote
➜ Event notification
Method Invocation (RMI)
• ➁ Message-Oriented
Communication GOSSIP-BASED COMMUNICATION
➜ Replication of services
Timing model of a distributed system
➜ Replication of data
Affected by: ➜ Execution speed/time of processes
➜ Execution speed/time of processes ➜ Communication delay
➜ Communication delay ➜ Clocks & clock drift
➜ Clocks & clock drift ➜ (Partial) failure
➜ (Partial) failure
With coordination you should agree
on Values:
EVALUATING DISTRIBUTED
ALGORITHMS ➜ Agree on global value
General Properties: ➜ Agree on environment
➜ Performance ➜ Agree on state
number of messages
exchanged
Main issues of coordination and
response/wait time
synchronization.
Delay
throughput: 1/(delay + • Time and Clocks:
executiontime) • Global State:
complexity: O()
• Concurrency Control:
➜ Efficiency
resource usage: memory, CPU,
etc. Synchronization Modes NETWORK
TIME PROTOCOL (NTP):
➜ Scalability
Types of MultiCast:
BASIC MULTICAST
FIFO MULTICAST
CAUSAL MULTICAST
TOTALLY ORDERED MULTICAST
Sequence Based
Properties of Multicast
Aggreement-based
Group membership:
Open vs Closed group: Other possibilities:
Reliability: ➜ Moving sequencer
Ordering: ➜ Logical clock based
• each receiver
determines order independently
• delivery based REPLICATION I SSUES
on sender timestamp ordering
Updates