[ndnSIM] The prefix in the CS

Junxiao Shi shijunxiao at email.arizona.edu
Tue Jun 6 11:52:15 PDT 2017


Hi John


> When the requested "/prefix" is set for particular consumers, for example,
> there appear to be many requests made (e.g., ConsumerCbr):
>
> /prefix/%FE%C3/...
> /prefix/%FE%C4/...
>
> 1.  I printed out the contents of cached items in the Content Store (using
> getFullName().toUri() on the iterator in my loop, starting at begin(),
> ending at end(), of course.), and noticed that each of these is treated as
> separate content objects?
>

Yes.


> 2.  I was previously under the impression that /prefix/*whatever* was a
> single content object, and that the Content Store wouldn't cache more than
> one of them.  Is the /%FE%C3/... part of the content object's true name?
>

Yes.


> 3.  If this is the case, it seems like the Consumers never request the
> same item more than once... is there any way to control this?  I want to
> ultimately simulate multiple requests of the same contents from various
> consumers to see how it affects the Cs
>

You can program/configure your consumer to send out Interests with same
names.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170606/5026621d/attachment.html>


More information about the ndnSIM mailing list