Nt1330 Unit 1 Term Paper

940 Words2 Pages

1. When using routers, you need many routers in order to route the information to the correct location, as one router will not be able to manage this task. Explain how the routing schemes handle this problem.
Ans.
Routing scheme means to find a path from once place to another on which packets can travel. In most of the cases, we need multiple routers in order to route the packet to the destination. Routing contains three elements:
Routing protocols, Routing Algorithms, and Routing databases.
• Routing protocols allow the information to be gathered and distributed.
• Routing algorithms are used to determine paths.
• Routing databases, which will store all the information that the routing algorithm has discovered.
These elements in turn help the information to be routed to the correct …show more content…

5. In your own words explain the concepts of RPC and RMI.
Ans.
RPC: Remote Procedural Call allows a client to invoke services by making a local procedure call, instead of accessing remote services by message passing (sending and receiving messages).
Suppose a process on machine X calls a procedure on another machine Y. The calling process (machine X) gets suspended, and procedure parameters are transferred to machine Y and procedure is executed on machine Y. Then after when the procedure finishes, results are transferred back to the calling environment (machine X), where execution resumes as if returning from regular procedure call.

RMI: Remote Method Invocation allows an object that lives in one process to invoke methods of an object that lives in another process.

It includes three software components:
• Proxy: which behaves like remote object to clients. It marshals arguments, forwards message to remote object, unmarshals results and returns result back to client.
• Skeleton: which is a server side stub. It is responsible for unmarshalling arguments, invokes methods, marshals results and sends the results to sending proxy

More about Nt1330 Unit 1 Term Paper

Open Document