[ndnSIM] Satisfy Interests with more than one producer

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Mar 31 11:42:00 PDT 2013

Hi Amin,

I is possible, but it depends on the forwarding strategy to deliver Interests to different producers.  For example, if you choose ns3::ndn::fw::BestRoute, then Interests will only be delivered over the "shortest-metric" path and some of the producers will never see the Interests.   If you use ns3::ndn::fw::Flooding, then all of the producers will receive Interests and it would depend on network topology (delays/losses) content object from which exactly producer will reach the consumer.

In case if you have several consumers, depending on topology and forwarding strategy, they may be getting content objects from different producers.

If you want only some Interests be satisfied by one producers and other by another, you may need to amend ndn::Producer implementation (or better create a new custom Producer app) by adding the appropriate logic.


On Mar 31, 2013, at 11:35 AM, Amin Karami <amin at ac.upc.edu> wrote:

> Hi friends,
> Is it possible to satisfy sent Interests from a consumer with more than one producer?
> for example, does the following code work correctly to satisfy Interests in /dst1 namespace with three producers?
>   ndnGlobalRoutingHelper.AddOrigins ("/dst1", producer1);
>   producerHelper.SetPrefix ("/dst1");
>   producerHelper.Install (producer1);
>   ndnGlobalRoutingHelper.AddOrigins ("/dst1", producer2);
>   producerHelper.SetPrefix ("/dst1");
>   producerHelper.Install (producer2);
>   ndnGlobalRoutingHelper.AddOrigins ("/dst1", producer3);
>   producerHelper.SetPrefix ("/dst1");
>   producerHelper.Install (producer3);
> Best Regards,
> /Amin
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130331/5cdb5ec4/attachment.html>

More information about the ndnSIM mailing list