[ndnSIM] How to cache data in leafNode without request?

Spyridon (Spyros) Mastorakis mastorakis at cs.ucla.edu
Sun May 7 11:47:07 PDT 2017


Hi,

you can write a custom application (or use the already provided consumer application) that will be sending Interests towards the producer to warm up the caches before you actually start your main experiment (for example, 5 - 10 seconds). 

After that, you can stop this application and start the main experiment.

Thanks,

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

> On May 2, 2017, at 11:27 PM, m18813192770 <m18813192770 at 163.com> wrote:
> 
> I build the scenario in a special environment where some Regularly updated information such as the Weather(called the first information)  is needed by all the consumers and other infomation is not. So, I want the first information pre-loading to reduce the delay. But I don't know how to do in the ndnSIM.
>  
> 2017-05-03 
> m18813192770
> 发件人:Lixia Zhang <lixia at cs.ucla.edu>
> 发送时间:2017-05-03 13:31
> 主题:Re: [ndnSIM] How to cache data in leafNode without request?
> 收件人:"Susmit"<susmit at cs.colostate.edu>
> 抄送:"m18813192770"<m18813192770 at 163.com>,"ndnsim"<ndnsim at lists.cs.ucla.edu>
>  
>  
> > On May 2, 2017, at 7:06 PM, Susmit <susmit at cs.colostate.edu> wrote: 
> >  
> > + The mailing list. 
> >  
> > NDN will automatically cache popular content. If you want to cache 
> > something before clients request it, you need to have a separate 
> > daemon that will fetch the content beforehand. 
> > If you want to keep it for long, you might need to use persistent 
> > storage, e.g., a repo. This mechanism will not be very different than 
> > how it works today. 
> >  
> > I am still not very sure what you are trying to do. As Lixia 
> > suggested, can you elaborate the problem you are trying to solve? 
> >  
> > On Tue, May 2, 2017 at 7:22 PM, m18813192770 <m18813192770 at 163.com> wrote: 
> >> Exactly,I want the pre-warming/pre-loading CDN caches. 
>  
> what I do not understand is why you want the data cached at edges but not in the middle — NDN routers cache data packets as side effect of forwarding them. 
> If you dont want in-network caching, maybe you’d consider using an IP simulator? 
>  
> >> I have searched the 
> >> IEEE Xplore Digital  Library but not find any articles about this. Could 
> >> you give me some articles or magezines to refer to? 
> >> Or tell me the details ? For example ,the interests are random,how can I 
> >> control it to pull the content I want? 
> >>  
> >> 2017-05-03 
> >> ________________________________ 
> >> m18813192770 
> >> ________________________________ 
> >>  
> >> 发件人:Susmit <susmit at cs.colostate.edu> 
> >> 发送时间:2017-05-03 02:42 
> >> 主题:Re: [ndnSIM] How to cache data in leafNode without request? 
> >> 收件人:"Lixia Zhang"<lixia at cs.ucla.edu> 
> >> 抄送:"m18813192770"<m18813192770 at 163.com>,"ndnsim"<ndnsim at lists.cs.ucla.edu> 
> >>  
> >> The scenario here can be compared to pre-warming/pre-loading CDN 
> >> caches, I think. 
> >>  
> >> Speculative caching will still require some Interests to go to the 
> >> producer to bring back content. 
> >>  
> >>  
> >>  
> >> On Tue, May 2, 2017 at 12:36 PM, Lixia Zhang <lixia at cs.ucla.edu> wrote: 
> >>>  
> >>> On Apr 30, 2017, at 11:37 PM, m18813192770 <m18813192770 at 163.com> wrote: 
> >>>  
> >>> Dear  Sir or Madam: 
> >>>     I am a senior student in China.  I have set up a tree-like 
> >>> structure,and I want some content cached in leafNode without any request 
> >>> while others  cached with requests?  But how and where can i do this? 
> >>>     Looking for your help, thanks. 
> >>>  
> >>>  
> >>> your request looks really unique: would you be willing to explain a bit 
> >>> exactly what problem you are trying to study/solve? 
> >>>  
> >>>  
> >>>  
> >>> _______________________________________________ 
> >>> ndnSIM mailing list 
> >>> ndnSIM at lists.cs.ucla.edu 
> >>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim 
> >>>  
> >>  
> >>  
> >>  
> >> -- 
> >>  
> >> ==================================== 
> >> http://www.cs.colostate.edu/~susmit 
> >> ==================================== 
> >  
> >  
> >  
> > --  
> >  
> > ==================================== 
> > http://www.cs.colostate.edu/~susmit 
> > ==================================== 
>  

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


More information about the ndnSIM mailing list