lecture8-DistributedSystem
lecture8-DistributedSystem
A collection of independent
computers that appears to its
users as a single coherent
system.
Distributed System Organization
1.1
1.6
Primitive Meaning
a) Parameter passing in a local procedure call: the stack before the call to
read
b) The stack while the called procedure is active
Client and Server Stubs
a) A procedure
b) The corresponding message.
Asynchronous RPC (1)
2-12
2-13
RPC libraries
• There are libraries that can automatically generate
stubs to pack/unpack messages
• Examples:
– Java JMI
– Apache Thrift
– Google protobuf
– …
Topics of Distributed System
Section
• Distributed deadlock detection
– Global state and distributed snapshot
– Logical clock and vector clock, …
• Distributed mutual exclusion
• Distributed transaction execution
• Fault tolerance
– Quorum-based approach
– Leader-based approach: Paxos and PBFT
• Consistency