Consider a simple server that carries out client requests without accessing other servers. Explain why it is generally not possible to set a limit on the time taken by such a server to respond to a client request. What would need to be done to make the server able to execute requests within a bounded time? Is this a practical option?
What will be an ideal response?
The rate of arrival of client requests is unpredictable.
If the server uses threads to execute the requests concurrently, it may not be able to allocate sufficient
time to a particular request within any given time limit.
If the server queues the request and carries them out one at a time, they may wait in the queue for an
unlimited amount of time.
To execute requests within bounded time, limit the number of clients to suit its capacity. To deal with more
clients, use a server with more processors. After that, (or instead) replicate the service....
The solution may be costly and in some cases keeping the replicas consistent may take up useful processing
cycles, reducing those available for executing requests.
You might also like to view...
The __________ process involves asking users to prove their identity.
a. authorization b. indexing c. authentication d. accounting
Why would it be necessary and convenient to overload an operator for a class?
A. To compare objects. B. You cannot overload an operator in a class. C. To delete objects. D. All of the above.
Consider the use of unclustered B + trees for external sorting. Let R denote the number of data records per disk block, and let F be the number of blocks in the data ?le. Estimate the cost of such a sorting procedure as a function of R and F. Compare this cost to merge-based external sorting. Consider the cases of R = 1, 10, and 100.
What will be an ideal response?
All of the following are ways that you can shorten the critical path EXCEPT ________
A) adding task relationships B) adding additional resource assignments to tasks C) adjusting the available working time in the project calendar D) creating a task calendar