questiona explain the similarities and


Question:

(a) Explain the similarities and differences between two different threads running in the same process and two independent processes. When would you want to use two threads in the same process? When would you want different processes?

(b) Describe the function of any two of following in the context of a remote procedure call

• Communication Module
• Dispatcher
• Server Stub

(c) Describe the role of a remote object reference during marshaling and unmarshalling, at both clients and servers, in an RMI system.

(d) By using examples, distinguish between a local method invocation and a remote method invocation.

(e) Briefly discuss and describe the possible RMI invocation semantics.

(f) A ‘null' RMI that takes no parameters, calls an empty procedure and returns no values delays the caller for 2.0 milliseconds. Explain what contributes to this time.

In the same RMI system, each 1K of user data adds an extra 1.5 milliseconds. A client wishes to fetch 32K of data from a file server. Should
it use one 32K RMI or thirty-two 1K RMIs?

Request for Solution File

Ask an Expert for Answer!!
Operating System: questiona explain the similarities and
Reference No:- TGS0361034

Expected delivery within 24 Hours