[Ndn-interest] how to set freshnessSecond?
ndn at sqh.me
Sun Aug 2 05:50:10 PDT 2015
Ok，I will read it and get further understand.Thanks for you reply.
2015-08-02 6:10 GMT+08:00 Alex Horn <nano at remap.ucla.edu>:
> note that another pattern often seen for 'getLatestContent' is using child
> ( answeroriginkind & rightmostchild) & versioning
> <http://named-data.net/doc/ndn-ccl-api/name.html#name-appendversion-method> -
> essentially using an incrementing value as the last name component, using
> interest selectors to 'ask the network' for the latest version, and using
> excludes for content you already have.
> (if you don't get a reply before a timeout, it's the latest :)
> this was used in initial ndnvideo (paper
> <http://named-data.net/publications/techreports/trstreaming/> explains
> mechanism in detail), and many others...
> perhaps most recently in ndn-rtc (paper
> (also explains mechanism)
> On Wed, Jul 29, 2015 at 9:48 PM, ndn ndn <ndn at sqh.me> wrote:
>> Dear Steve,
>> Thanks for you reply,I think I misunderstood "Must be fresh" literally.
>> In my point of view,"Must be fresh" means ndn Interests must get the
>> newest data from publisher. Set a freshness period can help me to solve
>> it.At first,I didn't find any way to set freshness value,but now I find it
>> though you help.just using Data. getMetaInfo() and set it.
>> MemoryContentCache is a good way to acheive it,I will try it.
>> Thanks for your help and reply, forgive my poor english spell.
>> 2015-07-30 10:15 GMT+08:00 Steve DiBenedetto <dibenede at cs.colostate.edu>:
>>> On Wed, Jul 29, 2015 at 7:58 PM, ndn ndn <ndn at sqh.me> wrote:
>>>> Hello everyone,
>>>> I'm using NDN-CCL to writing a NDN application. But I find a problem
>>>> about data cache.
>>>> In NDN network ,all data can store in CS.But in my application,some
>>>> content always changing in 5 seconds,so I think setting a freshnessSecond
>>>> will help me solve this problem.
>>>> I try to setMustBefresh value,but it not works.The app also receive the
>>>> cached value.
>>>> But in NDN-CCL,I didn't find any method to set this?how to set it?
>>>> hope you give me some reply.
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest