<html><head></head><body><div class="ydpa6158db5yahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:16px;"><div dir="ltr" data-setdir="false"><div><br></div> <div><div class="ydp22915a7cyiv3981467731x_elementToProof" 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 class="ydp22915a7cyiv3981467731x_elementToProof" 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 class="ydp22915a7cyiv3981467731x_elementToProof" 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 class="ydp22915a7cyiv3981467731x_elementToProof" 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 class="ydp22915a7cyiv3981467731x_ContentPasted0"></div><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0"><b class="ydp22915a7cyiv3981467731x_ContentPasted0"><span class="ydp22915a7cyiv3981467731x_ContentPasted2" style="font-size: 12pt;">Scenario</span>: The multi-consumers</b> scenario requesting the same content at different time<br class="ydp22915a7cyiv3981467731x_ContentPasted0"></span></div><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0"><span style="font-size: 12pt;"><br class="ydp22915a7cyiv3981467731x_ContentPasted1"></span></span></div><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0"><span style="font-size: 12pt;"><span class="ydp22915a7cyiv3981467731x_ContentPasted0 ydp22915a7cyiv3981467731x_ContentPasted1">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 class="ydp22915a7cyiv3981467731x_ContentPasted0" style="display: block;"><br><div class="ydp22915a7cyiv3981467731x_ContentPasted0"><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0">Consider the scenario where two consumers <span class="ydp22915a7cyiv3981467731x_ContentPasted0">C1 and C2</span> will request the same content x.  C1 requests it at time 0 whereas C2 will request it at 1000.<br class="ydp22915a7cyiv3981467731x_ContentPasted0"></span></div><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0">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 class="ydp22915a7cyiv3981467731x_ContentPasted0"></div><div><span class="ydp22915a7cyiv3981467731x_ContentPasted0">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 class="ydp22915a7cyiv3981467731x_ContentPasted0">       <b><span class="ydp22915a7cyiv3981467731x_ContentPasted0" 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 class="ydp22915a7cyiv3981467731x_ContentPasted0"></div><div class="ydp22915a7cyiv3981467731x_ContentPasted0">The problem is how to remove cache entry from the</div></span><br></span></div><div class="ydp22915a7cyiv3981467731x_elementToProof" 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 class="ydpa6158db5signature"><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></body></html>