Consider using a web server to create a more streamlined search engine. This system employs 100 computers to respond to search requests, which may then be sent to another cluster of machines using processSearch(string query) to obtain the result. Because the computer that replies to a particular query is picked at random, the same machine will not always respond to the same question. ProcessSearch is a rather costly technology. Provide a technique for caching the most recent query results. Make sure to explain how you would refresh the cache if the data changed.
Consider using a web server to create a more streamlined search engine. This system employs 100 computers to respond to search requests, which may then be sent to another cluster of machines using processSearch(string query) to obtain the result. Because the computer that replies to a particular query is picked at random, the same machine will not always respond to the same question. ProcessSearch is a rather costly technology. Provide a technique for caching the most recent query results. Make sure to explain how you would refresh the cache if the data changed.Consider using a web server to create a more streamlined search engine. This system employs 100 computers to respond to search requests, which may then be sent to another cluster of machines using processSearch(string query) to obtain the result. Because the computer that replies to a particular query is picked at random, the same machine will not always respond to the same question. ProcessSearch is a rather costly technology. Provide a technique for caching the most recent query results. Make sure to explain how you would refresh the cache if the data changed.
Step by step
Solved in 4 steps