Project

General

Profile

Actions

Feature #4671

closed

Compress IBF name before appending to interest or data name

Added by Ashlesh Gawande over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Target version:
Start date:
07/18/2018
Due date:
% Done:

100%

Estimated time:
Actions #1

Updated by Ashlesh Gawande over 6 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Ashlesh Gawande about 6 years ago

zlib seems to produce better results than bzip2:
https://gerrit.named-data.net/#/c/PSync/+/4906/
jenkins.named-data.net/job/PSync/70/

On my computer:
original size: 1440
Using bzip
compressed size: 541
Time to compress: 1.298 ms
Time to decompress: 0.527 ms


original size: 1440
Using zlib
compressed size: 413
Time to compress: 0.449 ms
Time to decompress: 0.163 ms

Actions #3

Updated by Ashlesh Gawande about 6 years ago

  • Target version set to v0.1.0
Actions #4

Updated by Ashlesh Gawande about 6 years ago

  • Status changed from New to Code review

Current patch is simple, it always compresses IBF using zlib (default settings via Boost) before appending to name:
https://gerrit.named-data.net/c/PSync/+/4906

Should options be given to the application to:

  • To not compress?
  • For using other compressions (bzip2 and gzip)?
  • To configure compression options (ex: fastest time vs smallest size)

If yes to any of the above, should I work on them in this change or defer to future change (post-release)?

Actions #5

Updated by Junxiao Shi almost 6 years ago

it always compresses IBF using zlib before appending to name:

Compressing is unimportant. Instead, move IBF into Interest.Parameters or Data.Content.

Actions #6

Updated by Ashlesh Gawande almost 6 years ago

  • Status changed from Code review to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF