In your own words, describe the difference, from a client’s point of view, between an iterative server and a concurrent server for a service such as Echo, which involves multiple rounds of message exchanges. Your description should address (i) the software logic (recall the three-layer software architecture), and (ii) the runtime performance (in terms of the delay or latency experienced by a client).

What will be an ideal response?


(i) From a client’s perspective, the software logic is the same regardless of the nature of the server. In particular, the presentation and application logics should be invariant. The service logic only differs in the location of the server (assuming that different addresses are used by the two servers.)
(ii) The latency experienced by the client is less with a concurrently server, since in that case a client does not have to wait for the completion of the sessions ahead of it. This reduction is especially significant if the service is popular (so that concurrent sessions are numerous) and/or if the protocol sessions are lengthy in time duration.

Computer Science & Information Technology

You might also like to view...

If a long-running calculation were to be performed synchronously in a GUI app, ________.

a) the GUI app would split off the long-running calculation into a separate thread. b) the GUI would freeze until the calculation completed and the user would not be able to interact with the app c) the app would terminate d) the app would deadlock

Computer Science & Information Technology

____________________ positioning is used to move an element relative to its default position on the page.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Theme fonts include both the Heading fonts and Body fonts

Indicate whether the statement is true or false

Computer Science & Information Technology

Justified text is easier to read because the space between words is standardized

Indicate whether the statement is true or false

Computer Science & Information Technology