<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear Junxiao,<br>
<div><br>
  Thanks for your reply.<br>
  I would like to use sync variable (unix timestamp) for my application with assuming loosely synchronized clocks between producer and consumer.<br>
<br>
Best wishes,<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div>Jongdeog Lee (JD)</div>
<div><br>
</div>
<div>------------------------------------------------</div>
<div><i>Ph.D. Student</i></div>
<div><i>Department of Computer Science</i></div>
<div><i>University of Illinois at Urbana-Champaign</i></div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF713914" style="direction: ltr;"><font size="2" color="#000000" face="Tahoma"><b>From:</b> Junxiao Shi [shijunxiao@email.arizona.edu]<br>
<b>Sent:</b> Wednesday, February 08, 2017 12:51 PM<br>
<b>To:</b> Lee, Jongdeog<br>
<b>Cc:</b> ndn-interest@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Ndn-interest] Producing new contents with same name<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Hi Jongdeog
<div><br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>1. Is it allowed to produce different contents with same name?<br>
</div>
</div>
</div>
</blockquote>
<div>No, it violates data immutability as required by <a href="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=" target="_blank">
NDN protocol design principles</a>.</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">
<div>2. If it is allowed, what would be a conventional way to implement it? My thoughts are:<br>
- the interest of the consumer 'must be fresh'<br>
- the producer produces the contents with the minimal freshness period (0 or 1).<br>
<br>
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.<br>
</div>
</div>
</div>
</blockquote>
<div>You may use <a href="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=" target="_blank">
iterative version discovery</a>: 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
<a href="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=" target="_blank">
there needs to be a timeout</a> to complete this version discovery procedure.</div>
<div>So far, no valid alternative solution has been proposed. You may post your idea in #3793.</div>
<div><br>
</div>
<div>Yours, Junxiao</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>