Answer to Question #163313 in Computer Networks for Oaitse Segale

Question #163313

How the distributed objects overcome the problem which are raised by socket and RPC? Is it necessary to use both socket and RPC in the distributed environment? Justify with valid reason.


1
Expert's answer
2021-02-13T05:03:21-0500

In in this, a computer program causes a procedure to execute in a different address space, which is coded as if it were a normal procedure call, without the programmer explicitly coding the details for the remote interaction.

The problem in the remote procedure call is given below-

  • In this calling and called procedures executes in the different address spaces.
  • In this system, parameter and results need to be passed in the distributed system, sometimes in different machines.
  • In this process, both machines can crash.


It is not necessary to use socket and PC at a time in the distributed system

There are two alternatives for the design of the distributed programs-

Bottom-up

Top-down







  1. In the RPC compiler, communication protocol generated automatically from the interface description.

Bottom-up:

  • Design network protocol.
  • Build program that follows the protocol using sockets

Top-down:

  • It design program first.
  • Partition the program in different modules.
  • It describe the set of procedures which make up the module interface.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS