Week 1 -- Remote Procedure Call

Week 1 -- Remote Procedure Call - Remote Procedure Call...

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

View Full Document Right Arrow Icon
Remote Procedure Call CS-4513, D-Term 2007 1 Remote Procedure Call CS-4513 Distributed Computing Systems (Slides include materials from Operating System Concepts , 7 th ed., by Silbershatz, Galvin, & Gagne, Modern Operating Systems , 2 nd ed., by Tanenbaum, and , 2 nd ed. By Tanenbaum and Van Steen)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Remote Procedure Call CS-4513, D-Term 2007 2 Message-oriented Protocols Many still in widespread use Traditional TCP/IP and Internet protocols Difficult to design and implement Especially with more sophisticated middleware Many difficult implementation issues for each new implementation Formatting Uniform representation of data Client-server relationships
Background image of page 2
Remote Procedure Call CS-4513, D-Term 2007 3 Remote Procedure Call (RPC) The most common framework for newer protocols and for middleware Used both by operating systems and by applications NFS is implemented as a set of RPCs DCOM, CORBA, Java RMI, etc., are just RPC systems
Background image of page 3

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

View Full DocumentRight Arrow Icon
Remote Procedure Call CS-4513, D-Term 2007 4 Remote Procedure Call (RPC) Fundamental idea: – Server process exports an interface of procedures or functions that can be called by client programs similar to library API, class definitions, etc. Clients make local procedure/function calls As if directly linked with the server process Under the covers, procedure/function call is converted into a message exchange with remote server process
Background image of page 4
Remote Procedure Call CS-4513, D-Term 2007 5 Ordinary procedure/function call count = read(fd, buf, nbytes)
Background image of page 5

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

View Full DocumentRight Arrow Icon
Remote Procedure Call CS-4513, D-Term 2007 6 Remote Procedure Call Would like to do the same if called procedure or function is on a remote server
Background image of page 6
Remote Procedure Call CS-4513, D-Term 2007 7 Solution — a pair of Stubs Client-side stub Looks like local server function Same interface as local function Bundles arguments into message, sends to server- side stub Waits for reply, un- bundles results
Background image of page 7

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

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

This note was uploaded on 11/15/2011 for the course ECKOW 123 taught by Professor Riuyt during the Spring '11 term at University of Damascus.

Page1 / 24

Week 1 -- Remote Procedure Call - Remote Procedure Call...

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

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