Development and Experimentation with NDN-JS, a JavaScript Library for Named Data Networking



download Download PDF

Development and Experimentation with NDN-JS, a JavaScript Library for Named Data Networking by Wentao Shang, Jeff Thompson, Jeff Burke, and Lixia Zhang
NDN Technical Report NDN-0014, August 2013.

NDN-JS is a pure JavaScript implementation of a client-side library for Named Data Networking (NDN). The initial purpose of designing this library was to simplify the development and deployment of NDN applications. It enables developers to create Web applications using the NDN protocol and to deliver them to end users without the installation of the CCNx package. This report describes how NDN-JS implements the core protocol functions and provides a set of high-level APIs that abstract the communication primitives and packet processing operations.
It also includes a performance evaluation which identifies a throughput bottleneck caused by the RSA public key operations implemented in JavaScript, and introduces some optimizations to mitigate them. The library has been successfully adopted inside and outside the NDN project team to create various Web applications shortly after it became available, which provides evidence for the usefulness and potential value of the library.

Obsoleted by: NDN.JS: A JavaScript Client Library for Named Data Networking