What is Remote Procedure Call?

Answer Posted / alok misra

Remote Procedure Call (RPC) is a protocol that one program
can use to request a service from a program located in
another computer in a network without having to understand
network details. (A procedure call is also sometimes known
as a function call or a subroutine call.) RPC uses the
client/server model. The requesting program is a client and
the service-providing program is the server. Like a regular
or local procedure call, an RPC is a synchronous operation
requiring the requesting program to be suspended until the
results of the remote procedure are returned. However, the
use of lightweight processes or threads that share the same
address space allows multiple RPCs to be performed
concurrently.
When program statements that use RPC are compiled into an
executable program, a stub is included in the compiled code
that acts as the representative of the remote procedure
code. When the program is run and the procedure call is
issued, the stub receives the request and forwards it to a
client runtime program in the local computer. The client
runtime program has the knowledge of how to address the
remote computer and server application and sends the
message across the network that requests the remote
procedure. Similarly, the server includes a runtime program
and stub that interface with the remote procedure itself.
Results are returned the same way.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the ionic equation for hcl-naoh?

594


Is benzene a polar molecule?

592


Convert 673 kelvin into degrees centigrade?

617


What is upsizing?

599


what is an isomer?

671






What are the isomers of heptane?

615


What is down-sizing?

590


round the following number to four significant figures and express the result in standard exponential notation: 0.006543210?

632


What are general middleware in client server environment?

576


The reaction of an acid with an alcohol to form an ester and water is called?

516


Cellulose is a polymer of repeating units of what molecule?

541


What is the difference between the law of multiple proportions and the law of definite proportions?

549


How many valence electrons does each of the elements in the periodic table have?

568


What is a tp monitor in client server environment?

672


Under which of the conditions will iron rust?

638