Project

General

Profile

Actions

Feature #5089

open

FullSync: add support for piggybacking app data

Added by Tianxing Ma about 4 years ago. Updated over 1 year 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])


Related issues 1 (0 open1 closed)

Has duplicate PSync - Feature #4663: Provide a wrapper to publish and fetch dataClosed07/12/2018

Actions
Actions

Also available in: Atom PDF