[Ndn-interest] Producing new contents with same name

Lee, Jongdeog jlee700 at illinois.edu
Wed Feb 8 11:56:27 PST 2017


Dear Junxiao,

  Thanks for your reply.
  I would like to use sync variable (unix timestamp) for my application with assuming loosely synchronized clocks between producer and consumer.

Best wishes,
Jongdeog Lee (JD)

------------------------------------------------
Ph.D. Student
Department of Computer Science
University of Illinois at Urbana-Champaign
________________________________
From: Junxiao Shi [shijunxiao at email.arizona.edu]
Sent: Wednesday, February 08, 2017 12:51 PM
To: Lee, Jongdeog
Cc: ndn-interest at lists.cs.ucla.edu
Subject: Re: [Ndn-interest] Producing new contents with same name

Hi Jongdeog

1. Is it allowed to produce different contents with same name?
No, it violates data immutability as required by NDN protocol design principles<https://urldefense.proofpoint.com/v2/url?u=https-3A__named-2Ddata.net_project_ndn-2Ddesign-2Dprinciples_&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Z7ZyWHGeVXO4-LRL2FeI1ZE8d269MMOL_mjEf1LVJpE&m=Wcg3G86x9NIA0D8uOarXCdHwO4gCIAw3RFRmvsIh9EE&s=V-p4H1uJz5WBrPzzZLJV1oMH-YYeNIXup1Mgr-Vpu3s&e=>.

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<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_named-2Ddata_ndn-2Dtools_blob_25625ca1a06d5f6e0a1c8c9b88303a8a2b6d19a7_tools_chunks_catchunks_discover-2Dversion-2Diterative.hpp&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Z7ZyWHGeVXO4-LRL2FeI1ZE8d269MMOL_mjEf1LVJpE&m=Wcg3G86x9NIA0D8uOarXCdHwO4gCIAw3RFRmvsIh9EE&s=yeEOMExvjYeLkFnnlHqpfKUoeuW6lgMrP3uGBhxXjI0&e=>: 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://urldefense.proofpoint.com/v2/url?u=https-3A__redmine.named-2Ddata.net_issues_3793&d=DwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Z7ZyWHGeVXO4-LRL2FeI1ZE8d269MMOL_mjEf1LVJpE&m=Wcg3G86x9NIA0D8uOarXCdHwO4gCIAw3RFRmvsIh9EE&s=bMMHx7ulwvTkHfuZ55W9cJuHl8QA9p9QzmSBVLSbnUA&e=> to complete this version discovery procedure.
So far, no valid alternative solution has been proposed. You may post your idea in #3793.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20170208/c49fa378/attachment-0001.html>


More information about the Ndn-interest mailing list