[Ndn-interest] [EXT] Tips for getting started?
erno.aapa at gmail.com
Mon May 11 00:10:59 PDT 2020
Thank you Philipp and Junxiao!
This was a good start, please keep it coming :)
Davide, if I understand correctly the blog post (which was great, thanks
Junxiao!), the missing features are not actually any missing from the NDN
implementation, but more like library features? The Endpoint's
retransmission and producer parallelism.
Do you know what's the status of the Go library
https://github.com/go-ndn/ndn or Rust https://github.com/imp/ndn-rs?
I got from this already following valuable information (please correct me
if I'm wrong):
- Getting started with NDNts looks nice and simple
- There's at least basic libraries C++, Python, Java, NodeJS, Go(?), and
Rust(?) which includes basic implementation but library implementation
- You need NFD to make simple consumer/producer setup (is it required or
can consumer/producer communicate directly without any daemon between?)
- miniNDN looks nice if you want to simulate actual network topology (for
more hardcore needs see ndnSIM)
So should I get next familiar with the NDN Packet Format Specification
(v0.3) or what would be the next steps when you know how to
implement simple producer / consumer?
Thanks for all the help! :)
ma 11. toukok. 2020 klo 8.43 Junxiao Shi (shijunxiao at email.arizona.edu)
> Dear folks
> I wrote a blog post about how to get started with NDNts.
> It explains how to send and receive Interest and Data, and introduces two
> powerful features of NDNts that other libraries do not have.
> Yours, Junxiao
> On Sun, May 10, 2020 at 11:48 AM Junxiao Shi <shijunxiao at email.arizona.edu>
>> Hi Erno
>> python-ndn <https://python-ndn.readthedocs.io/> (Python 3) are two
>> modern and up-to-date libraries.
>> The three libraries mentioned in Philipp's message are either missing
>> important features, or no longer maintained.
>> 1. You need to install NFD locally. It's best to install from binary
>> packages, not source code. On Ubuntu 18.04 execute the following commands:
>> sudo add-apt-repository ppa:named-data/ppa
>> sudo apt install --no-install-recommends nfd
>> 2. Install Node.js 14.x. It's best to install with NVM
>> <https://github.com/nvm-sh/nvm>. On Ubuntu 18.04 execute the
>> following commands:
>> wget -qO-
>> https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
>> nvm use 14
>> In case NVM installation doesn't work, you may also use NodeSource
>> packages <https://github.com/nodesource/distributions#deb>.
>> 3. Download the three files in the attachment, and save them into an
>> empty directory.
>> 4. cd to that directory, and execute:
>> npm install
>> 5. In the first console window, run the producer:
>> NDNTS_NFDREG=1 node ./producer.mjs
>> 6. In the second console window, run the consumer:
>> node ./consumer.mjs
>> To develop applications with NDNts, you can start looking at
>> Note that NDNts doesn't often publish to NPM, so that you should use the nightly
>> packages <https://ndnts-nightly.netlify.app> as shown in the demo.
>> Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-interest