1/6
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is the full form of RPC
Remote procedure call
What do you mean by procedure call ?
It means a calling a program which is present somewhere else
What are the other name of procedural call?
Function call or Subroutine call
What is RPC?
It is a protocol in which one program can request a service from program which is located in different computer on a network without understanding the network details
RPC uses client server model
What are the elements of RPC?
The client : The one who initiates the process of RPC
The client Stub :
The work of Client Stub is to packs and unpacks the message which contain the requirements.
- Once pack send it to RPC runtime
- Unpack when got from RPC runtime
- Sends to RPC runtime through local OS
The RPC run time : It is a Package which is reponsible for sending message between client and server
- Sends to server through Remote OS
The server stub : The work of Server Stub is to packs and unpacks the message which contain the requirements.
- Once pack send it to RPC runtime
- Unpack when got from RPC runtime
The server
Stub: It is a piece of code which converts parameters into the formate which is acceptable to send in the network
(1,2) at sender side
(4,5) at reciver side
What is RPC message?
It is a message which travel between client and receiver using RPC
It contain two things :
1. Call Packet: It gets generated by client side using remote OS which contain procedure name , parameters and meta data.
2. Result Packet : It gets generated by server side using remote OS which contain result of execution or error
What is stub generation ?
Stub can be generated in two ways:
Manually: In this implementer provides a set of transaction function by which user can make their own stub
Automatically: The most common way for stub generation , It uses IDL (interface defining language) that is used to define the interface between client and server