Stub (distributed computing)
- Stub (distributed computing)
A stub in distributed computing is a piece of code used for converting parameters passed during a Remote Procedure Call (RPC).
The main idea of an RPC is to allow a local computer (client) to remotely call procedures on a remote computer (server). Client and server use different address spaces, so conversion of parameters used in a function call have to be performed, otherwise the values of those parameters could not be used, because of pointers to the computer's memory pointing to different data on each machine. Stubs are used to perform the conversion of the parameters, so a Remote Function Call looks like a local function call for the remote computer.
Stub libraries must be installed on client and server side.A client stub is responsible for conversion of parameters used in function call and deconversion of results passed from the server after execution of the function.A server stub is responsible for deconversion of parameters passed by the client and conversion of the results after the execution of the function.
Wikimedia Foundation.
2010.
Look at other dictionaries:
Stub — may refer to: * Stub or stubb, a low pollard, a tree cut and allowed to regrow from the trunk (the origin of most other meanings) *Method stub, in computer programming, a piece of code used to stand in for some other programming functionality… … Wikipedia
Distributed object communication — realizes communication between distributed objects in the distributed computing environment. The main role is to interconnect objects residing in non local memory space and allowing them to perform remote calls and exchange data. The widely used… … Wikipedia
Distributed Networking — is a distributed computing network system, said to be distributed when the computer programming and the data to be worked on are spread out over more than one computer, usually over a network. Prior to low cost computer power on the desktop,… … Wikipedia
DiaGrid (distributed computing network) — DiaGrid is a large high throughput distributed research computing network utilizing the Condor system and centered at Purdue University in West Lafayette, Indiana. DiaGrid received a 2009 Campus Technology Innovators award from Campus Technology… … Wikipedia
Distributed Garbage Collection — (DGC) in computing is a particular case of Garbage Collection where references to an object can be held by a remote client. DGC algorithms typically rely on a time lease set on the Object; it s the Remote Client s stub object task to periodically … Wikipedia
Class stub — In the distributed computing environment, stub stands for client side object participating in the distributed object communication. Role of the stub in the distributed object communication. The stub acts as a gateway for client side objects and… … Wikipedia
DCE Distributed File System — Not to be confused with Distributed File System (Microsoft). The DCE Distributed File System (DCE/DFS)[1] is the remote file access protocol used with the Distributed Computing Environment. It was based on the AFS Version 3.0 protocol that was… … Wikipedia
Method stub — A method stub or simply stub in software development is a piece of code used to stand in for some other programming functionality. A stub may simulate the behavior of existing code (such as a procedure on a remote machine) or be a temporary… … Wikipedia
Process management (computing) — Operating systems … Wikipedia
Class skeleton — Contents 1 As pattern 2 As server side object 2.1 Protocols using stub/skeleton approach 3 References As patte … Wikipedia