Monday, 24 June 2013

Distributed Systems: Concepts and Design. by George Coulouris. Exercise Solutions 3. Question 2.4

2.4) A search engine is a web server that responds to client requests to search in its stored indexes and (concurrently) runs several web crawler tasks to build and update the indexes. What are the requirements for synchronization between these concurrent activities?

The crawler tasks could build partial indexes to new pages incrementally, then merge them with the active index (including deleting invalid references). This merging operation could be done on an off line copy. Finally, the environment for processing client requests is changed to access the new index. The latter might need some concurrency control, but in principle it is just a change to one reference to the index which should be atomic.

If you found the answer useful, please visit my other website. Exercise or Fitness Training has huge psychological and physical benefits. Train and dress up for the occasion.

1 comment:

  1. Hi,To start a business in Qatar, most of the people will also need an office from which company formation in Qatar should be run, and a license for a Qatari company. Thanks......