<div dir="ltr">Hi,<div><br></div><div>I'm trying to setup a scenario where there are M distinct producers 1...M. Each producer is responsible for a certain prefix /producer1 ... /producerM.</div><div><br></div><div>There are also N consumers which generate requests for interests ranging from /producer1 to /producerM followiing a zipf distribution.</div>
<div><br></div><div>I modified the zipfmandelbrotconsumer by changing the following line</div><div><pre><div class="" id="LC184">  <span class="">Ptr</span><span class=""><</span><span class="">Name</span><span class="">></span> <span class="">nameWithSequence</span> <span class="">=</span> <span class="">Create</span><span class=""><</span><span class="">Name</span><span class="">></span> <span class="">(</span><span class="">m_producerPrefix</span><span class="">+</span><span class="">boost</span><span class="">::</span><span class="">lexical_cast</span><span class=""><</span><span class="">std</span><span class="">::</span><span class="">string</span><span class="">></span><span class="">(</span><span class="">seq</span><span class="">));</span></div>
<div class="" id="LC185">  <span class="">//nameWithSequence->appendSeqNum (seq);</span></div><div class="" id="LC185"><span class=""><br></span></div><div class="" id="LC185"><a href="https://github.com/joshjdevl/icn-cache-privacy/blob/master/extensions/ndn-consumer-zipf-prefix-mandelbrot.cc">https://github.com/joshjdevl/icn-cache-privacy/blob/master/extensions/ndn-consumer-zipf-prefix-mandelbrot.cc</a><br>
</div><div class="" id="LC185"><br></div><div class="" id="LC185">I then installed a consumerapp and producerapp on each node accordingly.</div><div class="" id="LC185"><br></div><div class="" id="LC185"><a href="https://github.com/joshjdevl/icn-cache-privacy/blob/master/ndn-topology.cc">https://github.com/joshjdevl/icn-cache-privacy/blob/master/ndn-topology.cc</a><br>
</div><div class="" id="LC185"><br></div><div class="" id="LC185">The simulation runs for a very brief amount of time before receiving an error.</div><div class="" id="LC185">0.573765s 1 ndn.ConsumerZipfPrefixMandelbrot:GetNextSeq(): [LOGIC] p_random=0.142848
0.573765s 1 ndn.ConsumerZipfPrefixMandelbrot:GetNextSeq(): [DEBUG] RandomNumber=1
0.573765s 1 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [INFO ] seq=1
0.573765s 1 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [INFO ] > Interest for 1, Total: 6, face: 1
0.573765s 1 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [DEBUG] Trying to add 1 with +573764778.0ns. already 4 items
0.573765s 1 ndn.fw:OnInterest(0x1740d10, /producer1)
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:SendPacket()
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:GetNextSeq(): [LOGIC] p_random=0.926702
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:GetNextSeq(): [DEBUG] RandomNumber=8
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [INFO ] seq=8
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [INFO ] > Interest for 8, Total: 7, face: 1
0.576379s 3 ndn.ConsumerZipfPrefixMandelbrot:SendPacket(): [DEBUG] Trying to add 8 with +576379247.0ns. already 5 items
0.576379s 3 ndn.fw:OnInterest(0x1740dd0, /producer8)
0.576426s 0 ndn.fw:OnData(0x1722870, /producer2)
0.576426s 0 ndn.Consumer:OnData(0x173c580, 0x174bb40)
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<ns3::ndn::error::name::Component>'
  what():  std::exception
</div><div><br></div><div><br></div><div>Is there any naming convention assumed in the routing such as /producer/1 /producer/2 instead of being able to route to /producer1 /producer2 ?</div><div><br></div><div>The gdb backtrace is posted here</div>
<div><a href="https://gist.github.com/joshjdevl/80bcc0af2fab262120d0">https://gist.github.com/joshjdevl/80bcc0af2fab262120d0</a><br></div><div><br></div><div>Thanks,</div><div>Josh</div><div class="" id="LC185"><br></div>
</pre></div></div>