[Nfd-dev] Can ndn-tool(chunks) use the cached data on the intermediate node?

Klaus Schneider klaus at cs.arizona.edu
Sat Mar 17 12:04:18 PDT 2018



On 17/03/18 12:02, Klaus Schneider wrote:
> Hi everyone,
> 
> @Junxiao: I agree that in-network caching is no replacement for a 
> producer. But you didn't answer Junjie's question why catchunks failed 
> in this example.
> 
> Theoretically, if all the chunks are in the cache, there's no need for 
> the producer to be running.
> 
> 
> @Junjie: Please provide more details on the error, such as your commands 
> and the console output. (We have told you this multiple times now).
> 
> My guess is that it has something to do with catchunks version 
> discovery, which requires the consumer to run. So it may be possible to 
> fix it by disabling the version discovery.

Edit: "which requires the *producer* to run"

> 
> Best regards,
> Klaus
> 
> 
> 
> 
> On 17/03/18 04:38, Junxiao Shi wrote:
>> Hi Junjie
>>
>> Almost all NDN applications can use cached data.
>> In-network caching is not a replacement of producer. You must keep the 
>> producer running at all times.
>> Having in-network caching allows consumers to retrieve data with lower 
>> latency, and reduces the workload of a producer (you can measure it: 
>> number of Interests arriving at producer node is less than number of 
>> Interests expressed by all consumers combined).
>>
>> Yours, Junxiao
>>
>> On Sat, Mar 17, 2018 at 07:28 小杰许 <xujunjie1221 at gmail.com 
>> <mailto:xujunjie1221 at gmail.com>> wrote:
>>
>>     Greeting all, I'm wondering if the tool "chunks" can get the cached
>>     data.
>>
>>     My topo is like client- caching node (with max cache_size)- server.
>>     Then I run the ndnputchunks in server. run the ndncatchunks in
>>     client. The client can get the total data. (I think the data has
>>     been cached in the caching node). Then I close the ndnputchunks in
>>     server, and run the ndncatchunks again, however, it failed, Does it
>>     mean the tool(chunks) don't support  on-path cache?
>>
>>     Yours,
>>     Junjie
>>     _______________________________________________
>>     Nfd-dev mailing list
>>     Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
>>     http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>>
>>
>>
>> _______________________________________________
>> Nfd-dev mailing list
>> Nfd-dev at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>>


More information about the Nfd-dev mailing list