[Ndn-interest] how to set freshnessSecond?

Alex Horn nano at remap.ucla.edu
Sat Aug 1 15:10:41 PDT 2015

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
<http://named-data.net/publications/techreports/ndntr-0033-ndnrtc/>) (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.
> qhsong
> 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.
>>> thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150801/8f2e83fb/attachment.html>

More information about the Ndn-interest mailing list