<div dir="ltr">Hello, as I understand it, the topology you're describing is like this:<div>C1 -- C2 -- Producer.</div><div>with point-to-point links. Am I correct?</div><div>Which caching policy are you using in your scenario? CEE, probability-based, or other?</div><div>The default caching policy, of ndnSIM is CEE, so if you didn't change it, the Data will be cached on every relay node, including C2. </div><div>Please complete your last question so we can provide further guidance.</div><div>Hope that helps. </div><div>Regards.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 11 déc. 2022 à 07:43, Waseeq Islam via ndnSIM <<a href="mailto:ndnsim@lists.cs.ucla.edu">ndnsim@lists.cs.ucla.edu</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:verdana,helvetica,sans-serif;font-size:16px"><div dir="ltr"><div><br></div> <div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">Hello,</span></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></span></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">I need help to solve the following issue related to caching in the multi-consumer scenario.<br></span></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><span style="font-size:12pt"><div><br></div><div><span><b><span style="font-size:12pt">Scenario</span>: The multi-consumers</b> scenario requesting the same content at different time<br></span></div><div><span><span style="font-size:12pt"><br></span></span></div><div><span><span style="font-size:12pt"><span>If we don't cache the content on the consumer, which will demand it in a short time, the code starts behaving strangely.</span></span></span></div><ul><li style="display:block"><br><div><div><span>Consider the scenario where two consumers <span>C1 and C2</span> will request the same content x.  C1 requests it at time 0 whereas C2 will request it at 1000.<br></span></div><div><span>When C1 requests the content the Data packet passes from C2 to reach C1. As C2 has not yet requested it, we are not caching it on C2 (by checking which consumer requested it keeping the consumer ID in the tag). </span></div><div><br></div><div><span>By doing this the code is giving very bad behavior, the working is similar to having no PIT. The nodes start transmitting the received Interest packer each time without considering PIT aggregation or loops. As a result, consumers barely receive the data packet.</span></div></div></li></ul><div>       <b><span style="color:rgb(237,92,87);font-size:16pt">Idea:  </span></b>I got the idea to store the received content on each consumer C2 and C1, whether they have requested it or will request in short period of time. Later, to check if it is not yet requested by the current consumer to remove it from the cache after storing. So, when at time = 1000, C2 requests it. It should not get it from its local cache, instead, it should request it by sending Interest.</div><div><br></div><div>The problem is how to remove cache entry from the</div></span><br></span></div><div style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif"><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br></div></div></div><div><div style="font-family:verdana,helvetica,sans-serif;font-size:16px"><div style="font-size:13px;font-family:Helvetica,Arial,sans-serif"><span><br></span></div><div style="font-size:13px;font-family:Helvetica,Arial,sans-serif"><span><br></span></div><div style="font-size:13px;font-family:Helvetica,Arial,sans-serif" dir="ltr"><span><b>Regards,</b></span></div><div><span style="background-color:rgb(255,255,255)"><font color="#440062" face="times new roman, new york, times, serif" size="3" style="background-color:inherit"><b><i>WASEEQ</i></b></font></span></div><div style="font-size:13px;font-family:Helvetica,Arial,sans-serif"><span><br></span></div></div></div></div></div></div>_______________________________________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Mr DJAMA Adel<br></div><div>Phd student </div><div>Ecole Militaire Polytechnique</div><div>Algiers 16046, ALGERIA</div></div></div>