Unit1 Aos
Unit1 Aos
Distributed systems consist of multiple independent computers that work together to provide a
seamless computing experience. The architectures include:
3. Three-Tier Architecture – Separates the presentation, application logic, and data storage
layers.
4. N-Tier Architecture – Extends the three-tier model for scalability and modularity.
Wide Area Network (WAN) – Covers large geographical areas (e.g., the internet).
Wireless Networks – Wi-Fi, Bluetooth, and cellular networks.
Communication Primitives
Partial Failures – Some nodes may fail while others continue running.
A logical clock mechanism where each process maintains a counter. It follows two rules:
2. Set the counter to the maximum of the local and received timestamp plus one.
Vector Clocks
An extension of Lamport clocks where each process maintains a vector of timestamps, allowing for
detection of causality violations.
Causal Ordering of Messages
Ensures that if event A causally influences event B, then A is delivered before B. Achieved using
vector clocks.
Cuts – A snapshot of process states taken at different times to analyze system behavior.
Termination Detection
Dijkstra-Scholten Algorithm
Chandy-Lamport Algorithm
Message
Algorithm Fault Tolerance Performance
Complexity