<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 7, 2015, at 5:01 PM, Chengyu Fan <<a href="mailto:chengyu@cs.colostate.edu" class="">chengyu@cs.colostate.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Okay, so the TcpBulkInsert is to push the <span style="font-size:12.8000001907349px" class="">NDN packet format encoding data packets into the repo.</span><div class=""><span style="font-size:12.8000001907349px" class="">If need to insert the raw data, I must convert them into NDN packet format encoding in advance. Correct?</span></div></div></div></blockquote><div><br class=""></div><div>Yes.</div><br class=""><blockquote type="cite" class=""><div class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Apr 7, 2015 at 5:38 PM, Alex Afanasyev <span dir="ltr" class=""><<a href="mailto:alexander.afanasyev@ucla.edu" target="_blank" class="">alexander.afanasyev@ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">TcpBulkInsert is not really a protocol, rather a socket that accepts a stream of data packets.</div><div class=""><br class=""></div><div class="">Assuming file bulk-data.tlv contains a collection of data packets in NDN packet format encoding (just piled up, one after another one), you can use â€˜nc’ command to push them into the repo</div><div class=""><br class=""></div><div class="">nc localhost 7376 < bulk-data.tlv</div><div class=""><br class=""></div><div class="">—</div><span class="HOEnZb"><font color="#888888" class=""><div class="">Alex</div><div class=""><br class=""></div><br class=""></font></span><div class=""><blockquote type="cite" class=""><span class=""><div class="">On Apr 7, 2015, at 3:28 PM, Chengyu Fan <<a href="mailto:chengyu@cs.colostate.edu" target="_blank" class="">chengyu@cs.colostate.edu</a>> wrote:</div><br class=""></span><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Do anyone know the "<strong style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px" class="">Tcp Bulk Insert Repo Insertion Protocol</strong>" in NDN-repo-ng?</div><div class=""><br class=""></div><div class="">We have lots of data need to insert into the repository, and each one typically contains about 1.2GB.</div><div class=""><br class=""></div><div class="">According to the wiki (<a href="http://redmine.named-data.net/projects/repo-ng/wiki" target="_blank" class="">http://redmine.named-data.net/projects/repo-ng/wiki</a>), the "<strong style="color:rgb(72,72,72);font-family:'Lucida Grande',verdana,arial,helvetica,sans-serif;font-size:12px" class="">Tcp Bulk Insert Repo Insertion Protocol</strong>" might be the right option.</div><div class=""><br class=""></div><div class="">However, the wiki doesn't contain the protocol specification, and there is no tool for this protocol either ...</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Chengyu</div></div></div></div><span class="">
_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank" class="">Ndn-interest@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class=""></span></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></body></html>