[Ndn-interest] Tcp Bulk Insert Repo Insertion Protocol in NDN-repo-ng

Urs Schnurrenberger urs.schnurrenberger at unibas.ch
Wed Apr 8 04:08:52 PDT 2015


Hi,

why not using ndnputfile? Encoding is done automatically.

ndnputfile reponame ndnname filename:
e.g.
ndnputfile /localhost/repo-ng /ndn/ch/unibas/hello hello.txt

Interesting as well would be how to delete files from the repo? I still do it by directly manipulating the database. Seems that there is no tool around…?

Chengyu, don't you have problems to retrieve so large files from the repo? I have already problems with files around 50MB. The developers told me that it might be a memory issue.

Best,
Urs


Von: Ndn-interest [mailto:ndn-interest-bounces at lists.cs.ucla.edu] Im Auftrag von Alex Afanasyev
Gesendet: Mittwoch, 8. April 2015 02:03
An: Chengyu Fan
Cc: ndn-interest at lists.cs.ucla.edu
Betreff: Re: [Ndn-interest] Tcp Bulk Insert Repo Insertion Protocol in NDN-repo-ng


On Apr 7, 2015, at 5:01 PM, Chengyu Fan <chengyu at cs.colostate.edu<mailto:chengyu at cs.colostate.edu>> wrote:

Okay, so the TcpBulkInsert is to push the NDN packet format encoding data packets into the repo.
If need to insert the raw data, I must convert them into NDN packet format encoding in advance. Correct?

Yes.



On Tue, Apr 7, 2015 at 5:38 PM, Alex Afanasyev <alexander.afanasyev at ucla.edu<mailto:alexander.afanasyev at ucla.edu>> wrote:
TcpBulkInsert is not really a protocol, rather a socket that accepts a stream of data packets.

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

nc localhost 7376 < bulk-data.tlv

—
Alex


On Apr 7, 2015, at 3:28 PM, Chengyu Fan <chengyu at cs.colostate.edu<mailto:chengyu at cs.colostate.edu>> wrote:

Hi,

Do anyone know the "Tcp Bulk Insert Repo Insertion Protocol" in NDN-repo-ng?

We have lots of data need to insert into the repository, and each one typically contains about 1.2GB.

According to the wiki (http://redmine.named-data.net/projects/repo-ng/wiki), the "Tcp Bulk Insert Repo Insertion Protocol" might be the right option.

However, the wiki doesn't contain the protocol specification, and there is no tool for this protocol either ...

Thanks,
Chengyu
_______________________________________________
Ndn-interest mailing list
Ndn-interest at lists.cs.ucla.edu<mailto:Ndn-interest at lists.cs.ucla.edu>
http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20150408/fe698b59/attachment.html>


More information about the Ndn-interest mailing list