[r] support for stream deduplication?
- Dominant language
- Go
- Stars
- 445
- Forks
- 48
- PR merge metrics
- No merged PRs in 30d
Description
Would it be in the scope for this project to add stream deduplication to some formats?
It would drastically reduce the filesizes of the archives. Basically, marking blocks which are the same as such, and only including a reference to the first of them in the header. Not all formats may be compatible tho
This would come as an step before compression.
So it could be implemented as a format option, basically "tar+dedup".compressionFormat
More about the technique can be read at https://github.com/klauspost/dedup, which is also a stream-deduplication library.
There's an article explaining everything in great detail here too: https://blog.klauspost.com/fast-stream-deduplication-in-go/
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reviewing the archive formats supported by the repository and the compressionFormat option, then study the linked klauspost/dedup library and article; done would require an agreed scope for compatible formats and a defined tar+dedup format design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100