Podcast
Questions and Answers
Which of the following is an important principle of caching?
Which of the following is an important principle of caching?
- Cache is only used in software
- Information in use is copied from slower to faster storage temporarily (correct)
- Cache is only used in hardware
- Data is always stored in cache
What is the purpose of a cache in web servers?
What is the purpose of a cache in web servers?
- To store heavily used pages in main memory
- To eliminate the need to go to disk
- To improve performance
- All of the above (correct)
What is the role of the dispatcher thread in a multi-threaded YAHOO server?
What is the role of the dispatcher thread in a multi-threaded YAHOO server?
- To start the read operation to get the page from the disk
- To check if the request can be satisfied from the web page cache
- To examine the request and hand it to worker thread
- To read incoming requests from the network (correct)
What does the worker thread do in a multi-threaded YAHOO server?
What does the worker thread do in a multi-threaded YAHOO server?
What is the purpose of checking the cache first in a computer system?
What is the purpose of checking the cache first in a computer system?