Hacker News new | past | comments | ask | show | jobs | submit login

Tar is not streamable when compressed with gzip. 4Q supports compression on a per-file basis and thus can support streaming and compression at the same time. Zip also supports compression on a per-file basis, but it requires an index and thus is not streamable.



Funny, I've done plenty of gzip compressed tar streams:

    nc -l 7000 | tar -xf -
    tar -czf - * | nc 1.2.3.4 7000
Files appear one by one on the remote end.


You can stream zips if you don't use compression, and you can use compression on files small enough to hold in memory. I work at Barracuda Networks, and we actually do this every day.[1]

[1] https://github.com/barracudanetworks/ArchiveStream-php




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: