分布式系统英文教案chap-02.pptVIP

  • 1
  • 0
  • 约8.13千字
  • 约 40页
  • 2018-03-06 发布于江西
  • 举报
分布式系统英文教案chap-02

Communication Chapter 2 List Layered Protocols Remote Procedure Call Remote Object Invocation (omitted) Message-Oriented Communication Stream-Oriented Communication Layered Protocols (1) Layers, interfaces, and protocols in the OSI model. Layered Protocols (2) A typical message as it appears on the network. Data Link Layer Discussion between a receiver and a sender in the data link layer. Client-Server TCP Normal operation of TCP. Transactional TCP. Middleware Protocols An adapted reference model for networked communication. Conventional Procedure Call Parameter passing in a local procedure call: the stack before the call to read The stack while the called procedure is active Client and Server Stubs Principle of RPC between a client and server program. Steps of a Remote Procedure Call Client procedure calls client stub in normal way Client stub builds message, calls local OS Clients OS sends message to remote OS Remote OS gives message to server stub Server stub unpacks parameters, calls server Server does work, returns result to the stub Server stub packs it in message, calls local OS Servers OS sends message to clients OS Clients OS gives message to client stub Stub unpacks result, returns to client Passing Value Parameters (1) Steps involved in doing remote computation through RPC Passing Value Parameters (2) Original message on the Pentium The message after receipt on the SPARC The message after being inverted. The little numbers in boxes indicate the address of each byte Asynchronous RPC (1) The interconnection between client and server in a traditional RPC The interaction using asynchronous RPC Asynchronous RPC (2) A client and server interacting through two asynchronous RPCs Writing a Client and a Server The steps in writing a client and a server in DCE RPC. Binding a Client to a Server Client-to-server binding in DCE. Berkeley Sockets (1) Socket primitives for TCP/IP. Berkeley Sockets (2) Connection-oriented communication pattern using sockets. The Message-P

文档评论(0)

1亿VIP精品文档

相关文档