Explain the design choices that are relevant to minimizing the amount of reply data held at a server. Compare the storage requirements when the RR and RRA protocols are used.
What will be an ideal response?
To enable reply messages to be re-transmitted without re-executing operations, a server must retain the last reply to each client. When RR is used, it is assumed that a request message is an acknowledgement of the last reply message. Therefore a reply message must be held until a subsequent request message arrives from the same client. The use of storage can be reduced by applying a timeout to the period during which a reply is stored. The storage requirement for RR = average message size x number of clients that have made requests since timeout period. When RRA is used, a reply message is held only until an acknowledgement arrives. When an acknowledgment is lost, the reply message will be held as for the RR protocol.
You might also like to view...
To overload the + operator, you would write a function named
a. overload + b. operator + c. function + d. operator.overload(+) e. None of these
A mobile application is designed for a handheld device and a laptop.
Answer the following statement true (T) or false (F)
The data type for telephone numbers should be defined as _____.
A. Short Text B. Long Text C. Number D. AutoNumber
Given the array declaration below and user prompt, write the statement to place the number 1 into the first array element using the extraction operator. ? int numbers[5] = {0}; ? cout
What will be an ideal response?