[ndnSIM] Caching

Alex Afanasyev aa at CS.UCLA.EDU
Sun Jun 26 20:53:03 PDT 2016


There are several ways you can simulate that.

Easiest would be to unsolicitedly (i.e., without an incoming interest) push data packet towards the nearby router.  To make it work, you would need to modify NFD/daemon/fw/forwarder.cpp code (Forwarder::onDataUnsolicited(Face& inFace, const Data& data), around line 373).

You can also try to make it a more NDN-native way, where nearby routers keep some outstanding interests and you satisfy those based on your logic.

As for the trace, depending on which exactly trace and at which point you want to get it.  You can do it as part of the forwarding strategy, as part of content store, or built in some other places.

Unfortunately, I don't have a good example to show how to do that.

---
Alex


> On Jun 22, 2016, at 12:22 AM, Krishnakanth Singh <cs15mtech11007 at iith.ac.in> wrote:
> 
> Hi,
> I want to add oppurtunistic caching to the nodes basically if some node n1 is caching a resource r1 then based on some metric i also want to push that node to n2.Is this possible in the nfd module.I am in a hurry could please point me to relevant section to read so i could get going.Also using this example is it possible to get the trace of the traffic at nodes.
> 
> 
> 
> Thanks
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20160626/0a73e8d2/attachment.bin>


More information about the ndnSIM mailing list