Question: A multithreaded Web server is organized
A multithreaded Web server is organized as shown in Fig. 7-21. It takes 500 µsec to accept a request and check the cache. Half the time the file is found in the cache and returned immediately. The other half of the time the module has to block for 9 msec while its disk request is queued and processed. How many modules should the server have to keep the CPU busy all the time (assuming the disk is not a bottleneck)?
Answer to relevant QuestionsThe standard http URL assumes that the Web server is listening on port 80. However, it is possible for a Web server to listen to some other port. Devise a reasonable syntax for a URL accessing a file on a nonstandard port.In Fig. 7-26, the ALT parameter is set in the < img > tag. Under what conditions does the browser use it, and how?An HTML page is as follows: Click here for info If the user clicks on the hyperlink, a TCP connection is opened and a series of lines is sent to the server. List all the lines sent.Could a psychoacoustic model be used to reduce the bandwidth needed for Internet telephony? If so, what conditions, if any, would have to be met to make it work? If not, why not?Break the following columnar transposition cipher. The plaintext is taken from a popular computer textbook, so ''computer'' is a probable word. The plaintext consists entirely of letters (no spaces). The cipher text is ...
Post your question