[ndnSIM] concerning producer application

Spyridon (Spyros) Mastorakis mastorakis at CS.UCLA.EDU
Wed Mar 16 15:11:50 PDT 2016


Hi guys,

you can simulate this behavior, that is you can extend the producer application to produce chunks of varying size or even schedule events for sending data packets if you want to simulate the delay of fetching data from a disk or a repo. You can also create a big buffer, create and sign data in advance to “simulate” the disk storage.

It is kind of hard to access parts of the physical file system though, since all the application instances share the same local file system (this is imposed by NS3). You can still do it, but you have to be really careful and make sure that you access unique parts of the file system.

Hope that this helps!

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




> On Mar 16, 2016, at 3:04 PM, Hassan Sinky <sinkyh at oregonstate.edu> wrote:
> 
> I was quite interested in this as well. This way contents can have different sizes and chunks where different chunks can be downloaded and reordered at the receiver. If this can already be done can that would be great to know.
> 
> Thanks!
> 
> On Tuesday, March 15, 2016, Carl Zu <carlzu8 at gmail.com <mailto:carlzu8 at gmail.com>> wrote:
> Hi,
> 
> In ndn-producer.cpp, the data object is created in the "onInterest" method. This means it is created upon receiving an interest. However, it seems that in reality nodes have a kind of repository, e.g. a hard disk, in which they maintain the data. To my understanding, data should be copied from the repository to the cache upon arrival of a new interest message. How this has been taken into account in ndnSIM ?. Looks like we do not have access to the repository.
> 
> thanks.
> C
> 
> 
> _______________________________________________
> 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/20160316/32c83a00/attachment.html>


More information about the ndnSIM mailing list