Possible to stream files through an xz algorithim?
fire opened this issue · comments
It may be possible to stream a part of the transfer through an xz algorithm such as https://bitbucket.org/Rawr/goxz/.
There is some stuff missing for support of compressed blocks at the moment - particularly the block source implementation would need to translate a request for a set of blocks into a correct range in the compressed source.
I'm working on some changes that should help to enable this by pulling the block source base lookup of the start and end of a block into an interface (which will allow compressed ranges). It would still need implementation of the compression, some extraction in the http requester and the range lookup, but that ought to enable block-based compression.
This is a pure golang implementation of xz.
I'll hopefully have a look at compression soon
Any updates?
Sorry, I haven't had much time for this, and currently I can't see when I will in the next few months.
Perhaps I'll manage to squeeze some time in somehow.