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...
Borders and background colors define areas of a worksheet and call attention to important information.
Answer the following statement true (T) or false (F)
When adding a local image to a Web site, it is recommended that you store your images in a subdirectory called “images.” Which of the following would be the proper way to add “deitel.gif”?
(a) C:/images/deitel.gif (b) images/deitel.gif (c) deitel.gif (d) None of these.
A bitmap image is created by mathematical statements
Indicate whether the statement is true or false
Specter is a hardware honeypot
Indicate whether the statement is true or false.