harnen / timers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RICE: Remote Method Invocation in ICN

This is a repository containing an implementation of the RICE framework presented in this paper.

The repository contains an implementation in ndnSim simulator and a prototype based on ndn-cxx.

ndnSim

cd ns3
./waf configure --enable-examples
./waf

Running simulations

Simulation files are located in scratch/ folder. To run, execute:

NS_LOG=ndn.Producer:ndn.Consumer ./waf --run=tasks

To recreate result from the RICE paper, run scripts located in ns3/scripts/:

cd ns3/scripts
./run_tests.sh

Prototype

The prototype showcases both thunks and handshake message exchange. To run the prototype, NFD needs to be installed on hosting machines. The handshake example attempts to send file test.bin from to local consumer's directory to producer. The file must be generated before launching ./consumer_handshake.

To compile the project and generate a random file to send, run:

cd proto
make
`dd if=/dev/random of=test.bin count=100000 bs=1024 iflag=fullblock`

Note that the handshake example will work only using one forwarder for both producer and consumer. Running it on different machines requires modifications in NFD.

About


Languages

Language:Python 57.7%Language:C++ 40.6%Language:C 0.5%Language:Perl 0.4%Language:Shell 0.2%Language:CSS 0.2%Language:Makefile 0.1%Language:MATLAB 0.1%Language:HTML 0.1%Language:CMake 0.0%Language:Click 0.0%Language:Gnuplot 0.0%Language:JavaScript 0.0%Language:XSLT 0.0%Language:Batchfile 0.0%Language:R 0.0%