<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It does not have to do with the application.<div class=""><br class=""></div><div class="">It has to do with NFD. When a data packet is received by NFD, a CS match will be searched. If such a match is found, then the data would not be returned directly (from CS) and the Interest will not be forwarded to the application layer.</div><div class=""><br class=""></div><div class="">Take a look here:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/named-data-ndnSIM/NFD/blob/bd8eea71137bc382fe1fb8225334b926a5484527/daemon/fw/forwarder.cpp#L100-L111" class="">https://github.com/named-data-ndnSIM/NFD/blob/bd8eea71137bc382fe1fb8225334b926a5484527/daemon/fw/forwarder.cpp#L100-L111</a></div><div class=""><br class=""></div><div class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div><div class=""><span class="" style="float: none; display: inline !important;"><br class=""></span></div></div></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class="">On Apr 14, 2016, at 10:24 AM, Hassan Sinky <<a href="mailto:sinkyh@oregonstate.edu" class="">sinkyh@oregonstate.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Perfect. That explains it. In that case then. How does the producer differentiate if an interest has traversed a disjoint path with previous interests?<div class=""><br class=""></div><div class="">Thanks!</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Apr 14, 2016 at 10:10 AM, Spyridon (Spyros) Mastorakis <span dir="ltr" class=""><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank" class="">mastorakis@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">I am not sure I fully understand your question, but I will try to elaborate on it a little bit and you will let me know whether my response answers your question.</div><div class=""><br class=""></div><div class="">A producer in ndnSIM is a node that has an application installed and running on it. To this end, it has a Contest Store like any other node. If the producer sends out some data packets, they will be in its CS in the near future. If some consumers request this data, but the Interest is forwarded to the producer through a path that is disjoint with the previous path, then the data will be served from the CS on the producer node.</div><div class=""><br class=""></div><div class="">Does that answer your question?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span style="float:none;display:inline!important" class="">Spyridon (Spyros) Mastorakis</span><br class=""><span style="float:none;display:inline!important" class="">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span style="float:none;display:inline!important" class="">Internet Research Laboratory</span><br class=""><span style="float:none;display:inline!important" class="">Computer Science Department</span><br class=""><span style="float:none;display:inline!important" class="">UCLA</span></div></div></div>
</div><div class=""><div class="h5">
<br class=""><div class=""><blockquote type="cite" class=""><div class="">On Apr 14, 2016, at 2:33 AM, Hassan Sinky <<a href="mailto:sinkyh@oregonstate.edu" target="_blank" class="">sinkyh@oregonstate.edu</a>> wrote:</div><br class=""><div class="">Hello everyone,<div class=""><br class=""></div><div class="">I was just wondering what could be some cases when a producer node would register a cache hit? I assumed that if an interest request were to arrive at a producer it would simply process that request by returning the corresponding data. I have a topology with multiple producers of the same prefix and I installed the CS tracer only on the producers. I also have consumers requesting the prefix provided by the producers. The CS trace on the producers is registering cache hits and misses. Why would there be a hit or a miss? Should both simply be zero? Or am I missing something?</div><div class=""><br class=""></div><div class="">Thanks!</div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>