[ndnSIM] question about cache behavior

Alex Afanasyev alexander.afanasyev at ucla.edu
Mon Apr 21 15:02:49 PDT 2014


Hi Spencer,

No no.  Caches do not have restrictions to reply with exact matches and the behavior you're observing is correct.  One can implement such policy (e.g., if wants to optimize performance of cache lookups), but this is totally up to the specific implementation and comes at a cost.

--
Alex


On Apr 21, 2014, at 2:43 PM, Spencer Sevilla <spencer at soe.ucsc.edu> wrote:

> Hi all,
> 
> I wrote a test NDN application, and am seeing an unexpected (I think?) behavior. First, my application expresses an Interest for “/a/b/c/d”, this Interest is routed to the publisher, which responds with the corresponding Data packet. Next, my application expresses an Interest for “/a/b/c”, and receives the Data packet for “/a/b/c/d” from a cache.
> 
> To my understanding, caches are only supposed to respond with exact-matches, not partial matches like this. Have I misunderstood something big here? Or is this a behavior that I can somehow set or configure? I’m a bit confused and would love some clarification :-)
> 
> Thanks!
> Spencer
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim





More information about the ndnSIM mailing list