Remote Procedure Call Protocol (RPC)

Source: Internet
Author: User

Remote Procedure Call Protocol (RPC) is a protocol that requests services from remote computer programs over a network without understanding the underlying network technology. The RPC protocol assumes that some transmission protocols, such as TCP or UDP, carry information data between communication programs. In the OSI network communication model, RPC spans the transport layer and application layer. RPC makes it easier to develop applications, including distributed network applications.

 

Basic Introduction RPC adopts the Client/Server mode. A request is a client, and a service provider is a server. First, the client calls the process to send a call information with process parameters to the service process, and then waits for the response information. On the server side, the process remains asleep until the call information reaches. When a call Information arrives, the server obtains the process parameters, calculates the results, sends the reply information, and waits for the next call Information. Finally, the client calls the process to receive the reply information and obtain the process results, then, call and execute to continue. Multiple RPC modes and execution are available. Initially proposed by Sun. The IETF onc Charter revised the sun version, making the onc rpc protocol a standard IETF protocol. The most common mode and execution is the distributed computing environment (DCE) based on open software ). 2Working Principle
During running, the internal operations of a client calling the server's RPC are roughly as follows: 1. call the client handle; execute the transfer parameter 2. call the local system kernel to send network messages. 3. send messages to a remote host. 4. obtain the message from the server handle and obtain the parameter 5. execute remote process 6. the execution process returns the result to the server handle. the server handle returns the result and calls the remote system kernel 8. message returned to the local host 9. the client handle receives messages from the kernel 10. data http://baike.baidu.com/view/7287257.htm returned by the customer receiving handle

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.