Professional Documents
Culture Documents
909 1048 1 PB
909 1048 1 PB
ABSTRACT
Server machine where it is being received
The remote procedure calls are broadly used by server stub. The server stub unpacks
in distributed operating systems. Since it is parameters from that message, and then
easy and simple to implement, its usage is calls the server procedure using standard
wide in the distributed operating systems. It calling sequence. In this way, both main
also has some drawbacks and limitations. program and called procedure see ordinary,
Though very subtle, these drawbacks are of and local procedure calls, using regular
utmost importance. In this paper we discuss calling conventions. Only those stubs, which
problems with Remote Procedure Call (RPC) are automatically generated by compiler,
in the area of the concept of the model know that call is remote. We discuss various
itself, technical problems with its problem shere that researchers have
implementation, and problems of client and observed with RPC.
server crashes and some of the performance
issues. The paper discusses these problems CONCEPTUAL PROBLEMS IN RPC
and the proposed solutions of the problems. Conceptual problems of the RPC are given
as follows:
INTRODUCTION Which is Server and which is Client?
RPC is inappropriate for all computations.
RPC is assumed to be apt paradigm for The example where it is inappropriate,
creating the distributed operating system. assume this UNIX pipeline:
Itis a way of communication between the Sort<infile1 | unit | wk. -l >outfile1
two parties, the clientand the server. For Thatsort’sinfile1, ASCII file having one word
example, assuming that computation in a line, removes the duplicates, and prints
consists of main program, running on client word count in outfile1.It’s hard to know
machine, and the procedure being called, which is client and which is server here. A
runs on server machine. When main possible configuration is to have each of
program calls a procedure, what happens is three programs to be client and server,
that the call is made to a procedure called divide in two processes if needed. The client
client stub on client’s machine. The client parts of sort wouldsend read requests to
stubcollectsparameters into the message, the file server in order to acquire blocks of
and then sends that message to input file. Client part of unitwould send
REMOTE PROCEDURE CALL: LIMITATIONS AND DRAWBACKS Raghav Kukreja & Nitin Garg
P a g e | 914
International Journal of Research (IJR) Vol-1, Issue-10 November 2014 ISSN 2348-6848
requests to server part of the sort in order multicast in the hardware. Packet
to provide the sorted data as it becomes transmitted in the broadcast or the
available. Client part ofthawwould send multicast mode mightbereceived by the
request to server part ofthionic in multiple machines. Hence, there is a
ordertoprovidethe duplicate less data as it situation where the processes mayneed to
becomes available. do the multicasting and hardware doing it.
An RPC approach Isa two party
Unexpected Messages communication, hence, thereis no way to
Many situations may exist where one of the use the facilities of the hardware.
process may have an important information
for the otherprocess, but a client, is not TECHNICAL PROBLEMS
expectingsuch information. It remains hard Technical problems regarding the RPC are
for holder of information to transmit it.In as follows:
virtual circuit model having full duplex Parameter Marshalling
connections, any party may send the In order to arrange the parameters, client
highprioritymessage at any given moment. stub needs to know the number and type of
Though, problem arises when the user at them. Forstrong languages, they do not
the terminal issues command and then cause trouble, though in case the union
afterwards realizes that command has to be type is permitted, stub does not deduce
aborted, for example, if the givenprogram which union member is
starts up is debugged and has got in the passed.Forlanguages like C, which is not
infinite loop. If user presses there or the type safe, problems are worse. The
BREAK key, the character might be held by keyword print, can be called with number of
terminal server till someone asks for it, different parameters. In caseprintis called
which never really happens. What needed remotely, client stub does not have easy
here is a way for server, which is usually way offending out about the number of
passive, to initiate the action in order to parameters there are or the types of these
signal runaway command or shell that was parameters.
used to start it. Here isanexample of a
process which is usually a server but in Parameter Passing
special cases needs to act like client and When client calls the stub, call is made by
communicate with the other processes normal calling procedure. Stub collects
which might notbe expectingany parameters and inserts them into message
communication. While there are various ad that is being sent to server. In case, all
hoc solutionswhich may be devised, so parameters are the value parameters,
RPCmodel is faulty here. problems do not arise. They get copied in
the message. But, if reference parameters
Multicast or pointers are there, things get
Situations usually exist where one process complicated. It is easy to copy pointers in
may want to send message to other message, while the server wants to use
processes. Local area networks are usually them, it would not work right because
able to support thebroadcast or the object pointed would not be available.
REMOTE PROCEDURE CALL: LIMITATIONS AND DRAWBACKS Raghav Kukreja & Nitin Garg
P a g e | 915
International Journal of Research (IJR) Vol-1, Issue-10 November 2014 ISSN 2348-6848
REMOTE PROCEDURE CALL: LIMITATIONS AND DRAWBACKS Raghav Kukreja & Nitin Garg
P a g e | 916
International Journal of Research (IJR) Vol-1, Issue-10 November 2014 ISSN 2348-6848
Conclusion
The remote procedure calls though easy to
implement, have many limitations and
drawbacks. Even though the drawbacks and
limitations are subtle and negligible in
comparison to its advantages and
importance, it cannot be neglected.
Different issues such as technical problems
and performance issues were discussed in
this paper. The paper has discussed these
problem areas in brief and these problems
shall be looked upon by the researchers in
the future.
References
REMOTE PROCEDURE CALL: LIMITATIONS AND DRAWBACKS Raghav Kukreja & Nitin Garg
P a g e | 917