[Ndn-interest] Producing new contents with same name
shijunxiao at email.arizona.edu
Wed Feb 8 10:51:05 PST 2017
1. Is it allowed to produce different contents with same name?
No, it violates data immutability as required by NDN protocol design
2. If it is allowed, what would be a conventional way to implement it? My
> thoughts are:
> - the interest of the consumer 'must be fresh'
> - the producer produces the contents with the minimal freshness period (0
> or 1).
> 3. If there is any other conventional way of fetching the newest version
> of contents, please let me know. As we discussed in the NDN seminar, the
> selector (right most child) does not solve the problem as it can sometimes
> retrieve old cached data.
You may use iterative version discovery
use ChildSelector=rightmost to find a version, then express another
Interest that excludes that and all lower versions, repeat until you are
unable to retrieval any newer versions. A drawback is that there needs to
be a timeout <https://redmine.named-data.net/issues/3793> to complete this
version discovery procedure.
So far, no valid alternative solution has been proposed. You may post your
idea in #3793.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest