Feature #4671
closedCompress IBF name before appending to interest or data name
100%
      
      Updated by Ashlesh  Gawande over 7 years ago
      
    
    - Priority changed from Normal to High
 
      
      Updated by Ashlesh  Gawande about 7 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
      
      Updated by Ashlesh  Gawande about 7 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)?
      
      Updated by Junxiao Shi almost 7 years ago
      
    
    it always compresses IBF using zlib before appending to name:
Compressing is unimportant. Instead, move IBF into Interest.Parameters or Data.Content.
      
      Updated by Ashlesh  Gawande almost 7 years ago
      
    
    - Status changed from Code review to Closed
 - % Done changed from 0 to 100