[Mini-NDN] [EXT] Sends next request after previously requested files have been received

Junxiao Shi shijunxiao at email.arizona.edu
Tue Sep 22 10:05:56 PDT 2020


Hi Ritu

>From the pcap, I see that /ndn/a-site/a/29.mp4 and /ndn/a-site/a/21.mp4 are
being retrieved in parallel.
The bash script ensures that only one file retrieval can occur at a time.
Thus, I guess that your Python script somehow started multiple instances of
the bash script, so that they are executing in parallel.

Yours, Junxiao

On Tue, Sep 22, 2020 at 2:28 AM Ritu Bordoloi <bordoloi.ritu1988 at gmail.com>
wrote:

> *External Email*
> Dear Junxiao,
>
> I wrote a bash script for requesting multiple files. I am appending a
> sample script below, where the host requests 4 files.
>
> #!/bin/bash
> set -e
> ndncatchunks /ndn/a-site/a/$1
> ndncatchunks /ndn/a-site/a/$2
> ndncatchunks /ndn/a-site/a/$3
> ndncatchunks /ndn/a-site/a/$4
>
> However, the host is still sending the next interest requests without
> successfully retrieving the previously requested files completely.  I am
> attaching the pcap and ndndump files along with this email for your
> reference.
>
> Can you please give me any further suggestions for this?
>
> Thank you.
>
> Best regards,
> Ritu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20200922/927325f8/attachment.html>


More information about the Mini-NDN mailing list