Project

General

Profile

Actions

Task #4917

closed

Zip the recovery message

Added by Anonymous almost 5 years ago. Updated about 4 years ago.

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

100%

Estimated time:

Description

If the IBLT difference is greater than the threshold, we put all the Names in a State object, call wireEncode() and send it to the SegmentPublisher.
https://github.com/named-data/PSync/blob/f5d1f54de16b060455c8059050718fabc3898acf/PSync/full-producer-arbitrary.cpp#L188

    m_segmentPublisher.publish(interest.getName(), interest.getName(),
                               state.wireEncode(), m_syncReplyFreshness);

But this could be large, and there is a lot of repetition in the names. So, we should use zlib to compress the output of state.wireEncode() before we send it to the SegmentPublisher. (We should use zlib because this is what we already use to compress the IBLT in the Interest name component.)


Related issues 1 (0 open1 closed)

Related to PSync - Feature #5061: Compress IBF and sync content by default in PSync Full SyncClosed

Actions
Actions #1

Updated by Ashlesh Gawande over 4 years ago

  • Related to Feature #5061: Compress IBF and sync content by default in PSync Full Sync added
Actions #2

Updated by Ashlesh Gawande about 4 years ago

  • Status changed from New to Code review
  • Target version set to v0.2.0
  • Start date deleted (04/19/2019)
  • % Done changed from 0 to 100

As part of 5061, all the sync content is compressed.

Actions #3

Updated by Ashlesh Gawande about 4 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF