Sort 8 Discussions, By:
Please Login in order to post a comment
In what cases would you initialize an RPC that works between two processes on the same computer?
Two processes communicating through the TCP/IP stack, for example using the local loopback interface.
RPC is also needed for communication between objects in 2 different JVM in the same computer.
For instance, we have a Hadoop cluster where one of the physical computer is hosting both a namenode and a datanode.
answer choices didn't marked with letters
The Procedure is supposed to be executed in another address space (typically on another computer on the same network) and the presumed benefit of RPC is to hide this from the programmer to make it look like a local call. This is from the definition of RPC. If we agree on that, the answer here has to be incorrect.
Hey, I disagree here.
Remote Procedure Call (RPC) is an interprocess communication (IPC) mechanism that enables data exchange and invocation of functionality residing in a different process. That process can be on the same computer, on the local area network (LAN), or across the Internet.
RPC means REMOTE Procedure Call. Not LOCAL Procedure Call. smh.
The procedure has to be remote not the physical machine itself.
This should help : https://stackoverflow.com/questions/33781618/remote-procedure-calls-vs-local-procedure-calls
there was no (a) and (b) next to the first answers !
that was confusing...
... and circles means radio buttons - single answer
(a) and (b) was about answers :)
No more comments