[Ndn-interest] [EXT] Question about NFD guide + file transfer apps

Junxiao Shi shijunxiao at email.arizona.edu
Sun May 2 04:13:22 PDT 2021


Hi Marwa

On Sat, May 1, 2021, 10:43 marwa kareem <m.kareem1305 at coeng.uobaghdad.edu.iq>
wrote:

>
> 1- I read the NFD guide, and it says in section 3.3 (The implementation
> consists of two parts: a lookup table, and a cache replacement policy. The
> lookup table is a name-based index of CS entries, in which cached Data
> packets are stored.), what does (a name based index) mean? What is the
> index referring to?
>

Index refers to nfd::cs::Table type.
https://github.com/named-data/NFD/blob/a47cca26348e0fb8dba2faccb7037194a5e7ba0f/daemon/table/cs-entry.hpp#L116

2- In file transfer apps like @ndn/cat chunks, is there any way to take the
> content from the provider each time a request is sent, rather than the
> cache?
>

@ndn/cat is a real application, not a benchmark tool, so it cannot add
random suffix by itself.
You can fetch a different filename.

Also consider ndnping program, which appends a random suffix to every
Interest.
You can set payload length on the corresponding ndnpingserver, to reach a
certain throughput.

ndnping differs from @ndn/cat in that it retrieves packets at a fixed rate,
and does not implement congestion control.

Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20210502/95074e55/attachment.html>


More information about the Ndn-interest mailing list