Return-Path: william@bourbon.usc.edu Delivery-Date: Fri Nov 21 22:07:43 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id mAM67giQ029645 for ; Fri, 21 Nov 2008 22:07:42 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mAM65RIS007041 for ; Fri, 21 Nov 2008 22:05:27 -0800 Message-Id: <200811220605.mAM65RIS007041@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Regarding Deleting files from cache and Get response message Date: Fri, 21 Nov 2008 22:05:27 -0800 From: Bill Cheng Someone wrote: > We are maintaining a separate directory for cache. > Now to maintain the size of the cache we need to delete the LRU files from > the cache. > So while deleting should we delete the meta as well as the data file from > the cache? Of course! > Suppose there are three nodes > A-----------> B--------------------> C > > A sends a search which gets flooded to B and C. Now after the search > responses are received, A sends the get request for a file on C. > Does node B have to cache the file? Depends on CacheProb. -- Bill Cheng // bill.cheng@usc.edu