Remote Procedure Call(RPC) Concept Chuan-Ming liu CSIE NTUT Spring 04, TAIWAN
1 Remote Procedure Call (RPC) Concept Chuan-Ming Liu CSIE, NTUT Spring ’04, TAIWAN
Introduction D Continues the discussion of middleware (i. e, tools and libraries programmers used to construct client-server software) D Introduces the remote procedure call(rPc) concept, and describes a particular implementation of an rpc that uses XDr standard for data representation ) Shows how the approach simplifies the design of client-server software and makes the resulting program easier to understand
2 Introduction Continues the discussion of middleware (i.e., tools and libraries programmers used to construct client-server software) Introduces the remote procedure call (RPC) concept, and describes a particular implementation of an RPC that uses XDR standard for data representation Shows how the approach simplifies the design of client-server software and makes the resulting program easier to understand
RPC Model )When programmers build a client-server application, they must consider how the entire system will function and how the two components will interact DTo help programmers design and understand client-server interaction researchers have devised a conceptual framework (RPC model for building distributed programs D The RPC model uses familiar concepts from conventional programs as the basis for the design of distributed applications
3 RPC Model When programmers build a client-server application, they must consider how the entire system will function and how the two components will interact To help programmers design and understand client-server interaction, researchers have devised a conceptual framework (RPC model) for building distributed programs The RPC model uses familiar concepts from conventional programs as the basis for the design of distributed applications
Two Paradigms for building Distributed Programs Two approaches when designing a distributed applications )Communication-oriented design DApplication-oriented design
4 Two Paradigms for Building Distributed Programs Two approaches when designing a distributed applications Communication-oriented Design Application-oriented Design
Two Paradigms for building Distributed Programs(cont) D Communication-oriented Design )Begin with the communication protocol D Design a message format and syntax O Design the client and server components by specifying how each reacts to incoming messages and how each generates outgoing messages
5 Two Paradigms for Building Distributed Programs (cont.) Communication-oriented Design Begin with the communication protocol Design a message format and syntax Design the client and server components by specifying how each reacts to incoming messages and how each generates outgoing messages