<div>Hi Mohammad</div><div><br></div><div>On-disk Content Store is not an existing feature, but can be easily experimented due to NFD's modular design.</div><div>Content Store lookup API has been changed to asynchronous, exactly for supporting an on-disk Content Store.</div><div><br></div><div>To design an on-disk Content Store, some considerations are:</div><div><br></div><div>* The disk should be faster than network retrieval. SSD is needed.</div><div>* Index should be kept in memory. Full Data packets can be stored in disk. This avoids forwardi delays in case of a cache miss.</div><div>* Keep some full Data packets in memory. You'll need an algorithm to decide when to move full Data packets onto disk or back into memory.</div><div><br></div><div>Yours, Junxiao</div><div><br><div class="gmail_quote"><div>On Fri, Feb 24, 2017 at 09:39 Mohammad Alhowaidi <<a href="mailto:malhowaidi@gmail.com">malhowaidi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Hello,<br class="gmail_msg"><br class="gmail_msg"></div>I am working with large amount of data and I was wondering if there is a direct way in the current NFD implementation to save the data to the disk instead save it to memory due to the data size. OR should I change the NFD implementation to do that?<br class="gmail_msg"><br class="gmail_msg"></div>Thanks,<br class="gmail_msg"></div>Mohammad<br class="gmail_msg"></div>
_______________________________________________<br class="gmail_msg">
Nfd-dev mailing list<br class="gmail_msg">
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" class="gmail_msg" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br class="gmail_msg">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br class="gmail_msg">
</blockquote></div></div>