[ndnSIM] How to customize caching policy in ndnSIM-2.5?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sat Mar 24 12:50:10 PDT 2018


Hi Chengyu,

I would suggest you implement a caching policy in exactly the same way like you would do in NFD.

Then you will have to extend the helpers a bit to be able to use it. Take a look here:

https://github.com/named-data-ndnSIM/ndnSIM/blob/master/helper/ndn-stack-helper.cpp#L57-L60

Thanks,

Spyridon (Spyros) Mastorakis
Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
Internet Research Laboratory
Computer Science Department
UCLA

> On Mar 21, 2018, at 4:39 PM, Chengyu Fan <chengyu.fan at colostate.edu> wrote:
> 
> Hi,
> 
> Could someone tell me how to customize caching policy in ndnSIM-2.5?
> 
> I find some custom policy code in
> https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs <https://github.com/named-data-ndnSIM/ndnSIM/tree/master/model/cs>
> 
> Should I use the same way to implement my custom caching policy?
> 
> BTW, our caching policy needs to access statistics of forwarding strategy, is there a standard way to implement it? 
> 
> Thanks,
> Chengyu
> 

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


More information about the ndnSIM mailing list