Project

General

Profile

Actions

Feature #3793

closed

ndncatchunks version discovery: don't rely on timeouts

Added by Anonymous over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

ndncatchunks currently produces at least one timeout before starting to fetch actual data (for version discovery or freshness check):

klaus@laptop:~$ ndncatchunks -v /bla > /dev/null
Data: Name: /bla/%FD%00%00%01W%87r%9B%E9/%00%00
MetaInfo: ContentType: 0, FreshnessPeriod: 10000 milliseconds, FinalBlockId: %00%02
Content: (size: 4400)
Signature: (type: 1, value_length: 256)

Discovered version = 1475446217705
Timeout for Interest /bla?ndn.MinSuffixComponents=3&ndn.MaxSuffixComponents=3&ndn.ChildSelector=1&ndn.Nonce=2012873900&ndn.Exclude=,%FD%00%00%01W%87r%9B%E9
Timeout for Interest /bla?ndn.MinSuffixComponents=3&ndn.MaxSuffixComponents=3&ndn.ChildSelector=1&ndn.Nonce=2617007607&ndn.Exclude=
,%FD%00%00%01W%87r%9B%E9
Found data with the latest version: 1475446217705
Requesting segment #1
Received segment #1
Requesting segment #2
Received segment #2

For smaller file retrievals, the 2 second timeout takes up the majority of the download completion time.

I suggest that we design ndncatchunks in a way that doesn't require timeouts. Maybe we can do the version discovery with a manifest or use version 1 by default and make it optional to check for the latest version.


Related issues 1 (0 open1 closed)

Related to ndn-tools - Bug #4291: ndncatchunks: Reduce initial timeout of iterative version discoveryClosed

Actions
Actions

Also available in: Atom PDF