RPC ( Remote procedure call )

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

What is the full form of RPC

Remote procedure call

2
New cards

What do you mean by procedure call ?

It means a calling a program which is present somewhere else

3
New cards

What are the other name of procedural call?

Function call or Subroutine call

4
New cards

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

5
New cards

What are the elements of RPC?

  1. The client : The one who initiates the process of RPC

  2. 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

  3. The RPC run time : It is a Package which is reponsible for sending message between client and server
    - Sends to server through Remote OS

  4. 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

  5. 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

6
New cards

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

knowt flashcard image

<p>It is a message which travel between client and receiver using RPC</p><p>It contain two things : <br>1. Call Packet: It gets generated by client side using remote OS which contain procedure name , parameters and meta data.</p><p>2. Result Packet : It gets generated by server side using remote OS which contain result of execution or error<br><br></p><img src="https://knowt-user-attachments.s3.amazonaws.com/1dc050c3-371c-4957-be1e-7ffd3edfa0a1.png" data-width="100%" data-align="center" alt="knowt flashcard image"><img src="https://knowt-user-attachments.s3.amazonaws.com/1312cf9c-6cd4-4b04-b194-448a9bd2886c.png" data-width="100%" data-align="center"><p></p>
7
New cards

What is stub generation ?

Stub can be generated in two ways:

  1. Manually: In this implementer provides a set of transaction function by which user can make their own stub

  2. 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