A request-reply protocol is implemented over a communication service with omission failures to provide at-least-once RMI invocation semantics. In the first case the implementor assumes an asynchronous distributed system. In the second case the implementor assumes that the maximum time for the communication and the execution of a remote method is T. In what way does the latter assumption simplify the implementation?

What will be an ideal response?


In the first case, the implementor assumes that if the client observes an omission failure it cannot tell whether it is due to loss of the request or reply message, to the server having crashed or having taken longer than usual. Therefore when the request is re-transmitted the client may receive late replies to the original request. The implementation must deal with this.

In the second case, an omission failure observed by the client cannot be due to the server taking too long. Therefore when the request is re-transmitted after time T, it is certain that a late reply will not come from the server. There is no need to deal with late replies

Computer Science & Information Technology

You might also like to view...

The cell ________ is a combination of the column letter and the row number

Fill in the blank(s) with correct word

Computer Science & Information Technology

All wireless networks have their own name, referred to as the ________, which is used to identify the network.

What will be an ideal response?

Computer Science & Information Technology

Turning off track changes also turns off sharing and saves the workbook.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following is false?

a) Structure member names throughout a program must be unique. b) Attempting to refer to a member of a structure by using only the member’s name is an error. c) Inserting a space between the - and > of operator -> is an error. d) The dot operator (.) is the structure member operator.

Computer Science & Information Technology