rpc - Distributed System Topics CSCI 5105 Foundations of...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 CSCI 5105 Foundations of Modern Operating Systems Instructor: Abhishek Chandra Distributed System Topics Communication: How do distributed components talk to each other? Scheduling: How do we distribute computation over multiple processors? Synchronization: How do we get a consistent view of distributed events? Data Sharing: How can distributed processes access and update the same data? Fault Tolerance: How do we overcome failures of remote components? 2 Today Communication in Distributed Systems Introduction Remote Procedure Calls (RPC) Basics and Implementation Extended RPC models RPC Failure semantics Remote Method Invocation (RMI) Distributed Objects RMI Operation 3 Communication How do program modules/processes communicate on a single machine? 4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Communication in Distributed Systems “Distributed” processes Located on different machines Need communication mechanisms Goal: Hide distributed nature as far as possible 5 Communication in Distributed Systems Networking primitives and protocols (e.g.: TCP/IP) Advanced communication models: Built on networking primitives Remote Procedure Calls (RPC) Remote Method Invocation (RMI) Messages Streams 6 Remote Procedure Calls (RPC) Goal: Make distributed computation look like centralized computation Idea: Allow processes to call procedures on other machines Make it appear like normal procedure calls 7 Local Procedure Calls 8 Stack Pointer Stack Pointer foo(i, buf) i buf Return address, Local vars
Background image of page 2
3 RPC Operation Challenges: Hide details of communication Pass parameters transparently Stubs Hide communication details Client and server stubs Marshalling Flattening and parameter passing
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

rpc - Distributed System Topics CSCI 5105 Foundations of...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online