[ndnSIM] The prefix in the CS

John Baugh jpbaugh at umich.edu
Mon Jun 12 00:05:34 PDT 2017

Junxiao et al.,

Thank you for your response.  That does clarify things a bit.  Would the
best option to, in your words, "program/configure your consumer to send out
Interests with same names" be to subclass Consumer (or one of its
subclasses) and override one of the methods?

1.  I cannot seem to find where the randomization of the values such as
%FE%C3 are being appended to "/prefix/" before the interest is sent.  Does
anyone know where this would be?

2.  I suppose that my goal is to have a particular Consumer object request
say, /prefix/1 multiple times, maybe interspersed with say, prefix/2 or
others (but from a finite, reasonably predictable set of options.  Thoughts?

3,  I assume if I do (2) even with different Nonces, the producer, cache,
etc. will consider anything with /prefix/1 to be a single requested content
object, correct?

4.  I would also assume that it's unlikely the Producer would need
modified, if you specify that the producer handles "/prefix/" then,
anything starting with that should be responded to with content, correct?



On Tue, Jun 6, 2017 at 2:52 PM, Junxiao Shi <shijunxiao at email.arizona.edu>

> 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/20170612/d4caec5c/attachment.html>

More information about the ndnSIM mailing list