In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what does rpc refer to in linux". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
In linux, rpc means remote procedure call and is the abbreviation of Reomote Procedure Call, especially an IPC method that hides the actual communication details during procedure call; in linux, RPC can make full use of the multiprocessor environment of non-shared memory and improve the utilization of system resources.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What does rpc mean in linux
RPC: (Reomote Procedure Call) remote procedure call
RPC (Remote Procedure Call) is called remote procedure call in Chinese. There is a rpcbind software in Linux, which is a simple application example of rpc. It is a software related to network storage NFS. If users want to find NFS storage, they must first access RPCBIND.
Specifically, an IPC method that hides the actual communication details during a procedure call. The client calls a local method, which is responsible for transparent interprocedural communication with the remote server. The local method packages the relevant parameters into a message in order, and then sends the message to the method provided by the server, which will extract the serialized parameters from the message and execute it. finally, the return value of the method is still sent to the client in the same way.
With RPC, we can take full advantage of multiprocessor environments with unshared memory (such as multiple workstations connected through a local area network), so that your applications can be easily distributed across multiple workstations as if they were running on a multiprocessor computer. You can easily achieve process code sharing and improve the utilization of system resources, and you can also run a large number of numerical processing operations on a system with strong processing capacity, so as to reduce the burden on the front-end computer.
Expand knowledge:
IPC: (Inter Process Communication) Cross-process communication
This concept generally refers to any form of communication between processes and is a term that can be used everywhere. It includes not only various forms of messaging, but also shared resources, and synchronization objects [mutex or something like that, that is, ensuring secure concurrent access to shared resources (that is, preventing two or more object colleagues from modifying the same data member, resulting in data corruption, or errors caused by colleagues reading / writing data under competitive conditions)].
LPC (Local Procedure Call)
LPC is an abbreviation for "local procedure call (Local Procedure Call)". The so-called "local procedure call" is relative to "remote procedure call", that is, RPC. RPC is in a broad sense, RPC can occur between different hosts, can also occur on the same host, occurs on the same host is LPC. So there is no such thing as LPC in the context of Unix, even if it happens on the same host, it is called RPC.
Historically, RPC is a standard designed and proposed by the Open Software Foundation (OSF) to implement the Unix distributed Computing Environment (Unix DCE). In fact, Microsoft's DCOM technology is based on RPC. Win2000's RPC can use TCP/IP, SPX, NetBIOS, named pipes, and "local" as the underlying means of communication, which is LPC.
On the other hand, Windows is an operating system with many microkernel system characteristics (although its kernel is not a microkernel). There are many "system-level" service processes in the system, such as the well-known csrss, the "local security authentication service" process LSASS, which manages user login, etc., user processes and system tools provided by Microsoft often need to call services provided by these service processes. Here LPC plays an important role.
LPC is based on an interprocess communication mechanism called "Port", similar to local (Unix domain) Socket. This Port mechanism provides inter-process communication for message delivery (message passing), and LPC is a high-level mechanism based on this, which aims to provide cross-process procedure calls. Note that the so-called "cross-process procedure call" is different from the previous "cross-process operation". The former is an agreed and controlled service provided by both parties, and the callee is independent in what services are provided, that is, which function calls are provided, while the latter can be used and manipulated unwittingly. The former is benign, while the latter can be malignant.
This is the end of the content of "what does rpc in linux refer to". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.