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