Project

General

Profile

Task #5089

FullSync: add support for piggybacking app data

Added by Tianxing Ma 7 months ago. Updated 7 months ago.

Status:
Code review
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

80%

Estimated time:

Description

Provides a new function to the application to publish a corresponding data for a given /user/seq. This means instead of the Sync Data containing just the updated /user/seq, it would contain /user/seq + App Data with name /user/seq or any arbitrary data the app may want to put there with this /user/seq. This saves the application from sending another interest with that name and getting the data separately. This change will modify the existing State encoding to include an optional ndn::Block of data.

Current State encoding:
State = tlv::PSyncContent TLV-LENGTH *Name

Proposed State encoding:
State = tlv::PSyncContent TLV-LENGTH *(Name [tlv::PSyncDataBlock])

#1

Updated by Ashlesh Gawande 7 months ago

  • Description updated (diff)
  • Status changed from New to Code review
  • Target version set to v0.3.0
  • Start date deleted (03/06/2020)
  • % Done changed from 0 to 80

The change on gerrit needs a rebase and a test case in test-full-sync.cpp to test the new function.
Preferably we also need an NLSR change to see if this works as expected and save some RTTs for NLSR.

Also available in: Atom PDF